tdecaluwe / node-edifact

Javascript stream parser for UN/EDIFACT documents.
https://www.npmjs.com/package/edifact
Apache License 2.0
50 stars 13 forks source link

Tokenizer overwrites previous regex cache entry when reconfiguring #25

Closed tdecaluwe closed 7 years ago

tdecaluwe commented 7 years ago

This is the offending line in the configure() function:

this._regexes.alphanumeric = Tokenizer.compile(charset, exclude);