Open
Description
when a custom delimiter is used instead of "\n"
e.g. delimiter => "</Some>"
(assuming "multi-line" content in a single line),
the plugin fails to properly split lines - this mostly happens when the plugin manages to buffer up more than one "line":
"<Some><Content1>...</Content1></Some> <Some><Content2>...</Content2>"
and boils down to:
>> line = "<Some><Content1>...</Content1></Some> <Some><Content2>...</Content2>"
>> tokenizer = FileWatch::BufferedTokenizer.new("</Some>")
>> tokenizer.extract(line)
=> ["<Some><Content1>...</Content1>"]
>> tokenizer.extract(line)
=> [" <Some><Content2>...</Content2><Some><Content1>...</Content1>"]
which ends not extracting the 2 lines properly.
Metadata
Metadata
Assignees
Labels
No labels