Re: re or nre. What should i use? What will be supported in future?

2020-03-10 Thread Araq
We could maybe adopt nim-regex into the stdlib and deprecate both re and nre... > Does this mean that the plan is to remove nre in the future? If you feel out of the loop, the "real" plans that have some chance of being done are tracked here:

Re: re or nre. What should i use? What will be supported in future?

2020-03-10 Thread enthus1ast
I use this pure library in one of my projects [https://github.com/nitely/nim-regex](https://github.com/nitely/nim-regex)

Re: re or nre. What should i use? What will be supported in future?

2020-03-10 Thread didlybom
Does this mean that the plan is to remove nre in the future? That is, is it the recommendation to use re for new projects? If such a change is being considered, it would be nice to have a built in stand-alone regular expression library. Its a bit annoying to have to distribute the pcre dll with

Re: re or nre. What should i use? What will be supported in future?

2020-03-08 Thread stbalbach
For performance, last I checked, re is faster than nre by a lot.

Re: re or nre. What should i use? What will be supported in future?

2020-02-29 Thread readysloth
Thank you for the answers!

Re: re or nre. What should i use? What will be supported in future?

2020-02-28 Thread Araq
And after the v1 life, the worst that will happen is that you need to add `nre` as a Nimble package dependency.

Re: re or nre. What should i use? What will be supported in future?

2020-02-28 Thread timothee
* for use in stdlib, IMO nre is the better design * for use outside stdlib, IMO pkg/regex has a better design, eg works at CT, and is pure nim code without pcre dependency; I'm curious about performance, haven't seen benchmarks on this

Re: re or nre. What should i use? What will be supported in future?

2020-02-28 Thread leorize
Since both `re` and `nre` made it to version 1 of Nim, you can be certain that they will be around for as long as there are interest in maintaining the 1.x series :) That's the stability commitment of Nim v1.

re or nre. What should i use? What will be supported in future?

2020-02-28 Thread readysloth
Hello community! I want to clarify for myself and future programmers, what standard regex library should we use now? I found two discussions about future of both [re](https://github.com/nim-lang/Nim/issues/2511) and [nre](https://github.com/nim-lang/RFCs/issues/31) . I'm a bit scared that nre