Skip to content

Disable Meta-Symbols #1

Description

@3F

v1 - Same char to escape

  • 1024*2 -> 10247412
  • 1024**2 -> 1024*2
  • 1024***2 -> 1024*0xD2
  • one|two -> one or two
  • one||two -> one|two
  • one|||two -> one| or two
  • one||||two -> one||two
  • one|||||two -> one|| or two
  • one|*||two -> one or |two
  • one|*||||two -> one or ||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:

  • @ + d for disable all meta-symbols before new @(?) -> @d ... @
    • 1024*2 -> 10247412
    • 1024@d*@2 -> 1024*2 or @d1024*2@ -> 1024*2
    • @d1024*@*2 -> 1024*0xD2
    • @@d1024*@*2 -> @@d1024*@0xD2 -> note: @* ok (@ + [a-z0-9])
    • one|two -> one or two
    • @done|two@ -> one|two
    • @done|@|two -> one| or two
    • @done||two@ -> one||two
    • @done||@|two -> one|| or two
    • one|@d|two@ -> one or |two
    • one|@d||two@ -> one or ||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~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions