- let your code swoop in and swoop out like a bat. Like a Batman.
- concept: template markers so absurdly safe they can be injected & extracted without tokenization
- use: temporary injections of code for debugging purposes
- only a single template operator / matching tag-set provided.
- One operator is all you need, when your operator is the batsignal.
-
Upper tag (startbat): #</--_>#
-
Lower tag (endbat): #<__/-END-__>#
-
Aims:
- create a set of tags so big, obtrustive, and messy that no one could possibly forget to take them out
- create a pattern that won't trigger a single accidental match in any codebase anywhere.
#<INJECT><__\/-___-\\__><INJECT>#.+?#<ENDINJECT><__\/-END-\\__><ENDINJECT>#
<&::{}[]!@#$%^&*()-=_+,.<>/?\|;:'"~`
gaewggawg
aswef
#<INJECT><__/-___-\__><INJECT>#
erg
#<ENDINJECT><__/-END-\__><ENDINJECT>#
waf
awegwg
#<INJECT><__/-___-\__><INJECT>#
nntmine ergiuh aeriu
ergeg erg egr
#<ENDINJECT><__/-END-\__><ENDINJECT>#
##ONE: #</--_># erg #<__/-END-__>#
##TWO: #</--_># nntmine ergiuh aeriu
ergeg erg egr
#<ENDINJECT><__/-END-\__><ENDINJECT>#