if your errors are from exceptions then just find where your exceptions are
being thrown and wrap them in a `try: #[your code here]# except: discard`.
> you'll need a cross compiling toolchain. afaik mingw can't compile from
> windows to linux, although it works the other way around.
Yes, I found only cross-compilers for Linux. No luck with MinGW it seems ?
you'll need a cross compiling toolchain. afaik mingw can't compile from windows
to linux, although it works the other way around.
You answer your own question. Get full mingw I think.
Try this:
import nre
let txt = "自我 我们 我" # this is actually read from external file
let r = re"(*U).{0,1}我.{0,1}"
for res in findAll(txt, r):
echo res
Run
Show for me:
自我
我们
我
Run
import re
import unicode
var txt = "自我 我们 我" # this is actually read from external file
#~ txt = txt.toRunes()
# type mismatch: got but expected 'string'
var result = txt.findall(re".{0,1}我.{0,1}")
for i in result:
echo i # "自我", "我们", "我" are
The a, b are not actually start/end values. They are arbitrary elements from
the first and second slices (r[0] and r[1]).
Maybe Slice should use (slice_start, slice_end) for naming instead of (a, b).
Recently I tried to build Linux distributive for my recent project, yet found
compiler stuck on following error:
\nimcache\stdlib_system.c:11:22: fatal error: sys/mman.h: No such file or
directory #include
Run
Of course it's not available on Windows, yet what should I
I think it's impossible to do that in `nim.cfg`. Sorry.
With errors. I want to run my program in the background, and supress occasional
errors so they won't bother me
What dialog boxes? When they popup, you have a bug in your code...
I am a newbie, but I had a similar problems which was fixed by the awesome
community.
Details:
[https://github.com/yatesco/docker-nim-dev-example](https://github.com/yatesco/docker-nim-dev-example)
13 matches
Mail list logo