only tab works as separator

This commit is contained in:
Akbar Rahman 2019-01-25 17:54:18 +00:00
parent 51109be19b
commit 8256d9af08
Signed by: alvierahman90
GPG Key ID: 20609519444A1269
2 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,8 @@
.hc hydrocarbon .hc hydrocarbon
.hy hydrogen .hy hydrogen
.ca carbon .ca carbon
.ox oxygen .ox oxygen
:wink: 😉 :wink: 😉
source tests/test_macros_biology source tests/test_macros_biology
source tests/test_macros_custom_plurals source tests/test_macros_custom_plurals
source tests/test_macros_plural source tests/test_macros_plural

View File

@ -135,7 +135,7 @@ def get_macros(input):
response = [] response = []
# turn input into unvalidated list of macros # 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 # validate macros
for index, macro in enumerate(macros): for index, macro in enumerate(macros):