help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character class with negated "]"


From: Hans Aberg
Subject: Re: Character class with negated "]"
Date: Mon, 9 Sep 2002 18:22:12 +0200

At 14:09 +0200 2002/09/09, Hans-Bernhard Broeker wrote:
>For special cases like this, I seem to remember special
>position-sensitivity built into most RE parsers.  Have you tried
>
>       [^][*]+

I tried this, and I recall it caused an error: ^ in first position means
negation, period. So when it sees the first "]", it's an ill formed
character class.

  Hans Aberg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]