regXwild
regXwild copied to clipboard
Disable Meta-Symbols
~v1 - Same char to escape~
-
1024*2->10247412 -
1024**2->1024*2 -
1024***2->1024*0xD2 -
one|two->oneortwo -
one||two->one|two -
one|||two->one|ortwo -
one||||two->one||two -
one|||||two->one||ortwo -
one|*||two->oneor|two -
one|*||||two->oneor||two
... for each available meta-symbol
upd: no, ESS version provides #, that means 1 any symbol, thus we cannot use this because of: track-num:*###7400 and similar.
v2 - markers via flags
We'll add @ + special flag ([a-z0-9] only) + @@ to escape this flag
Then we can use unified combinations of this, for example:
-
@+dfor disable all meta-symbols before new@(?) ->@d ... @-
1024*2->10247412 -
1024@d*@2->1024*2or@d1024*2@->1024*2 -
@d1024*@*2->1024*0xD2 -
@@d1024*@*2->@@d1024*@0xD2-> note:@*ok (@ + [a-z0-9]) -
one|two->oneortwo -
@done|two@->one|two -
@done|@|two->one|ortwo -
@done||two@->one||two -
@done||@|two->one||ortwo -
one|@d|two@->oneor|two -
one|@d||two@->oneor||two
-
well, this is more powerful way, but probably more hard for view o_o and:
- v2:
one|@d||two@<- ?@done|@@d||two@@@ - v1:
one|@d||two@<-one||@@d||||two@@
v3 - markers via single tilde '~'
v2 can also be as simple ~ ... ~ + to escape ~~:
-
one|@d||two@<-~one|@d||two@~ -
one|~d||two~<-~one|~~d||two~~~