nitely / nim-regex

Pure Nim regex engine. Guarantees linear time matching
https://nitely.github.io/nim-regex/
MIT License
227 stars 20 forks source link

raiseOSError under windows10 #48

Closed huaxk closed 4 years ago

huaxk commented 4 years ago

code as follow:

import regex

var content = "content".replace(re"t", "b")

raise exception when complier using nim1.0 under windows10 chinese version:

oserr.nim(94)            raiseOSError
Error: unhandled exception: 文件名、目录名或卷标语法不正确。
 [OSError]
nitely commented 4 years ago

I can't reproduce on Linux, and I don't have a win machine. Please, show the full traceback.

nitely commented 4 years ago

Looks like you've hit this bug: https://github.com/nim-lang/Nim/issues/12242 , try Nim 1.0.2. It's not related to nim-regex.