summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-07-04 21:43:23 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-07-04 21:44:22 +0200
commita1637dbbdffce153c7cfac94a94e38cfc8bed636 (patch)
treed4e71ba188c77a2764700bb8c9dbd67e5264481f /kconfiglib.py
parent7b22f1b5a74dcc6ffcca9ef651fded6f144db76e (diff)
_name_special_search regex consistency nit
Put $ after word characters, like in _command_match and _id_keyword_match.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 90eacab..b3d0397 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -7023,7 +7023,7 @@ _string_special_search = _re_search(r'"|\'|\\|\$\(')
# Special characters/strings while expanding a symbol name. Also includes
# end-of-line, in case the macro is the last thing on the line.
-_name_special_search = _re_search(r'[^$A-Za-z0-9_/.-]|\$\(|$')
+_name_special_search = _re_search(r'[^A-Za-z0-9_$/.-]|\$\(|$')
# A valid right-hand side for an assignment to a string symbol in a .config
# file, including escaped characters. Extracts the contents.