Overview
Comment: | [build] fix warning for Python 3.7 regexes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | build | rg |
Files: | files | file ages | folders |
SHA3-256: |
e540b82c60b0705fc323f3c8c9ba1214 |
User & Date: | olr on 2018-07-19 14:40:35 |
Other Links: | branch diff | manifest | tags |
Context
2018-07-19
| ||
14:40 | [fr] fix warning for Python 3.7 regexes check-in: 6916cee232 user: olr tags: fr, rg | |
14:40 | [build] fix warning for Python 3.7 regexes check-in: e540b82c60 user: olr tags: build, rg | |
13:58 | [build] deprecated object name (Python 3.7) check-in: 4f6cfde973 user: olr tags: build, rg | |
Changes
Modified compile_rules.py from [4d074615bf] to [e8250665d2].
︙ | |||
131 132 133 134 135 136 137 | 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - + | #### OPTIONS sOption = False # False or [a-z0-9]+ name nPriority = 4 # Default is 4, value must be between 0 and 9 tGroups = None # code for groups positioning (only useful for JavaScript) cCaseMode = 'i' # i: case insensitive, s: case sensitive, u: uppercasing allowed cWordLimitLeft = '[' # [: word limit, <: no specific limit cWordLimitRight = ']' # ]: word limit, >: no specific limit |
︙ | |||
221 222 223 224 225 226 227 | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | - + | re.compile(sRegex) except: print("# Regex error at line ", nIdLine) print(sRegex) traceback.print_exc() return None ## groups in non grouping parenthesis |
︙ |