Seth Dillingham <[EMAIL PROTECTED]> wrote on 9/25/06 at 1:10 AM:

> Your change from \\. to \. really changes the meaning of the original
> pattern.
> 
> The \\. allowed the strings to contain escaped quotes. The \\. 
> would match
> any escaped character (a literal '\' followed by any character).

Oops.


> With your change to \. it matches only a literal period.

Yeah, I didn't really think about that pattern -- I'm just used to
seeing \. in a regex pattern and thinking "that's a literal dot"
that when I saw "\\.", I wrongly assumed it was specifying a
literal dot.

-J.G.

--
------------------------------------------------------------------
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]>

Reply via email to