On 9/28/2006, James Harvard said:
Is that a bug, or am I missing something? I think it's a bug, because if
the character class is not negated (i.e. just [\\]) then BBEdit is happy.
It's a bug in PCRE, the regular expression library that BBEdit uses.
Negative lookbehind assertions containing a negated character
class, such as (?!<[^\\]), always generate that error.
If you search for the phrase "lookbehind assertion is not fixed
length", you'll see that people have complained about the very
same thing in PHP and lots of other places.
<http://www.google.com/search?q=%22lookbehind+assertion+is+not+fixed+length%22>
It looks like it was fixed this summer in an update to PCRE 6,
but BBEdit is presently using PCRE 5 (according to the release
notes from 8.5). My understanding is that upgrading to a major
new version of PCRE is not a trivial matter.
Seth
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>