Changeset 3d40839 in sasmodels for doc/_extensions/dollarmath.py
- Timestamp:
- Oct 28, 2017 9:28:22 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 0db85af
- Parents:
- e964ab1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/_extensions/dollarmath.py
r103ea45 r3d40839 12 12 import re 13 13 14 _dollar = re.compile(r"(?:^|(?<=\s|[ (]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[.,;)\\]))")14 _dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;)\\]))") 15 15 _notdollar = re.compile(r"\\[$]") 16 16
Note: See TracChangeset
for help on using the changeset viewer.