mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 17:04:38 +00:00
Apply wmllint change by Soliton to account for new square bracket expansion...
...syntax used in uniWML and elsewhere.
This commit is contained in:
parent
bbace6d70c
commit
79330a3ae9
@ -23,7 +23,7 @@ Limitations:
|
||||
import sys, re, copy
|
||||
keyPattern = re.compile('(\w+)(,\s?\w+)*\s*=')
|
||||
keySplit = re.compile(r'[=,\s]')
|
||||
tagPattern = re.compile(r'(^|(?<![\w\|\}]))(\[/?\+?[a-z].*?\])')
|
||||
tagPattern = re.compile(r'(^|[^\w|}])(\[/?\+?[a-z _]+\])')
|
||||
macroOpenPattern = re.compile(r'(\{[^\s\}\{]*)')
|
||||
macroClosePattern = re.compile(r'\}')
|
||||
closeMacroType = 'end of macro'
|
||||
|
Loading…
x
Reference in New Issue
Block a user