Skip to content

Commit c649d18

Browse files
committed
Merge branch 'fix/command_issues' of https://github.com/ansys/pyconverter-xml2py into fix/command_issues
2 parents 84c9b06 + 9ef9831 commit c649d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyconverter/xml2py/ast_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def replace_asterisks(initial_text):
395395

396396
# Replace all * with \*
397397
text = re.sub(
398-
r"([^\*])(\*)([A-Z]+)(\`|\s)", r"\1" + r"\*" + r"\3\4", initial_text
398+
r"([^\*])(\*)([A-Z]+)(\`|\,|\.|\s)", r"\1" + r"\*" + r"\3\4", initial_text
399399
) # Replace ``*DIM`` configurations into ``\*DIM``
400400
text = re.sub(
401401
r"([^\*\s\\]+)(\*)([^\*\s]+)", r"\1\\2\3", text

0 commit comments

Comments
 (0)