On Mon, Jun 10, 2013 at 2:57 AM, Frantisek Sodomka <fsodo...@gmail.com>wrote:

> Googling the exception operator:
> http://avisynth.org/mediawiki/User:Gzarkadas/EBNF
>      Exception     The effect is the logical negation of the rule
> following. For example -"a" becomes  ? all characters not equal to a ?.
>

Yeah, that's still not clear to me.  It says it is the logical negation of
a "rule" but then goes on to say that it negates the "characters".
What does -"ab" mean?

If you're just negating characters, in instaparse you can just use regex's
capability to express negative character classes.  So, for example, "every
character but an a" is most clearly and efficiently expressed as #"[^a]".

http://www.regular-expressions.info/charclass.html

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to