Regular expressions in Nimscript?

2020-11-20 Thread ben
thanks for link I was aware of that page, but now when reading more carefully, two things are noticeable: 1\. 're' is indeed not in the list of compatible packages 2\. It states that FFI based modules do not work in Nimscript. The docs on 're' refere to PCRE as the C library that the wrap with

Regular expressions in Nimscript?

2020-11-20 Thread ben
thanks, I've tried 'regex' and it works also with Nimscript. Its a bit sad that it introduces some lag into the execution

Regular expressions in Nimscript?

2020-11-20 Thread ben
error when importing re: usr/local/Cellar/nim/1.4.0/nim/lib/impure/re.nim(125, 3) Error: undeclared identifier: 'copyMem' Does somebody has more information on this issue? Regular expressions are pretty important while shell scripting ... Thanks Ben