mirror of
https://github.com/alvierahman90/otfmacros.git
synced 2024-12-15 12:01:59 +00:00
only tab works as separator
This commit is contained in:
parent
51109be19b
commit
8256d9af08
@ -1,8 +1,8 @@
|
||||
.hc hydrocarbon
|
||||
.hy hydrogen
|
||||
.ca carbon
|
||||
.hc hydrocarbon
|
||||
.hy hydrogen
|
||||
.ca carbon
|
||||
.ox oxygen
|
||||
:wink: 😉
|
||||
source tests/test_macros_biology
|
||||
source tests/test_macros_custom_plurals
|
||||
source tests/test_macros_plural
|
||||
source tests/test_macros_biology
|
||||
source tests/test_macros_custom_plurals
|
||||
source tests/test_macros_plural
|
||||
|
@ -135,7 +135,7 @@ def get_macros(input):
|
||||
response = []
|
||||
|
||||
# turn input into unvalidated list of macros
|
||||
macros = [re.split('[ \t]', x) for x in input.split('\n')]
|
||||
macros = [re.split('[\t]', x) for x in input.split('\n')]
|
||||
|
||||
# validate macros
|
||||
for index, macro in enumerate(macros):
|
||||
|
Loading…
Reference in New Issue
Block a user