Changeset 3407 for proto/RE


Ignore:
Timestamp:
Jul 17, 2013, 11:06:26 PM (6 years ago)
Author:
cameron
Message:

Eliminate backslash-escaped dot in character class; not handled yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/performance/perf.py

    r3406 r3407  
    120120expressions.append(Expression('([a-f](.[d-m].){0,2}[h-n]){2}', 'af_hnaf_hn', ('regex_perf',)))
    121121expressions.append(Expression('([A-Za-z]awyer|[A-Za-z]inn)[^a-zA-Z]', '_awyer_or_inn', ('regex_perf',)))
    122 expressions.append(Expression('"[^"]{0,30}[?!\.]"', 'quoted_sentence0-30', ('regex_perf',)))
     122expressions.append(Expression('"[^"]{0,30}[?!.]"', 'quoted_sentence0-30', ('regex_perf',)))
    123123expressions.append(Expression('Tom.{10,25}river|river.{10,25}Tom', 'Tom_near_river', ('regex_perf',)))
    124124
Note: See TracChangeset for help on using the changeset viewer.