Ignore:
Timestamp:
Jul 16, 2016, 2:26:56 PM (3 years ago)
Author:
cameron
Message:

Fix some rule extractions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/QA/TestCorpora/SpamAssassin/getREs.py

    r5093 r5094  
    1111
    1212
    13 pattern_RE1 = re.compile('.*(/)(.*)/([misx]*) *(?:#.*)?$')
     13pattern_RE1 = re.compile(r"""[^\\]*(/)(.*)/([misx]*) *(?:#.*)?$""")
    1414pattern_RE2 = re.compile('.*m([{])(.*)[}]([misx]*) *(?:#.*)?$')
    1515pattern_RE3 = re.compile('.*m([^A-Za-z0-9])(.*)\1([misx]*) *(?:#.*)?$')
Note: See TracChangeset for help on using the changeset viewer.