You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import csv
def parse_params(txt):
return [i for i in csv.reader([txt], skipinitialspace=True)][0]
(or maybe i.strip() for i...?)
Then in Node.expand() use parse_params(matches[0]) rather than matches[0].split(",") and in NodeAction.activate() use parse_params(self.rule)rather than self.rule.split(",") ?
If I pass a sentence containing commas in to a modifier, the
params
are split on simple commas:It would be useful to be able to pass in strings containing commas:
e.g.
rather than:
The text was updated successfully, but these errors were encountered: