We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f3c0c6 commit 79b9b70Copy full SHA for 79b9b70
geosx_xml_tools_package/geosx_xml_tools/regex_tools.py
@@ -16,7 +16,7 @@
16
# strip_trailing | 3.0000, 5.150050 | Removes unnecessary float strings
17
# strip_trailing_b| 3.0000e0, 1.23e0 | Removes unnecessary float strings
18
#
19
-patterns = {'parameters': r"\$:?([a-zA-Z_]*)\$?",
+patterns = {'parameters': r"\$:?([a-zA-Z_0-9]*)\$?",
20
'units': r"([0-9]*?\.?[0-9]+(?:[eE][-+]?[0-9]*?)?)\ *?\[([-+.*/()a-zA-Z0-9]*)\]",
21
'units_b': r"([a-zA-Z]*)",
22
'symbolic': r"\`([-+.*/() 0-9eE]*)\`",
0 commit comments