Regex plug-in vs editor-character classes

David
2012-09-17
2013-05-20
  • David
    David
    2012-09-17

    Combining grouping with using a parenthesis in a character class such as "(nonbanana*close)"  appers to work differently in the regex plugin vs the EPIC file search (control-H).  The plug-in seems to require paren's to be escaped within brackets , but the editor search does not. The editor search correctly interprets the group as not ending at the ) inside the set, even if not escaped .  If I escape the paren in the brackets it works for both.  Which is correct please? Shoudl I always escape parens inside brackets? I can't find any mention of escaping parens in character sets in the latest Camel book (Chapter 5, page 202)

    I'm using EPIC 0.5.46 and Perl 5.12.4