Commit graph

32 commits

Author SHA1 Message Date
Flaviu Tamas
9ca1c2c930 Eliminate floating point arithmatic in nre
Integer division is already hard enough on your CPU, using floating
point here is WAY slower and can just as effectivly be done using
integers. This is important because matchImpl tends to be in the center
of very hot loops (like split()).
2018-10-28 00:53:09 -04:00
Flaviu Tamas
f55580383c Use runnableExamples for example nre code 2018-10-03 16:39:43 -04:00
Flaviu Tamas
a0ac0b9696 Fix option documentation in nre (fixes #9053) 2018-10-01 21:38:56 -04:00
Andreas Rumpf
7f49364fd0 make more tests green 2018-08-13 12:29:03 +02:00
Timothee Cour
4deda6b732 Update nre.nim (#8147) 2018-06-29 02:13:49 -04:00
Andreas Rumpf
22670aad84 make nre compile again 2018-04-29 07:59:03 +02:00
Andreas Rumpf
f64f9e50cc correct comparisons for nil strings/seqs 2018-04-28 15:13:44 +02:00
Andreas Rumpf
b14cc1e3b2 fixes #6631 2017-10-30 14:45:57 +01:00
Andreas Rumpf
f1dab39086 remove old implementation of the roof operator; make tests green again; close #6292 2017-10-29 20:36:07 +01:00
Florent
34a3d40d18 fixes #5444 - nre.findIter keeps searching when no match is possible (#5453) 2017-03-02 11:48:41 +01:00
Andreas Rumpf
d35c561759 fixes #4996 2017-02-05 12:10:57 +01:00
Andreas Rumpf
3715a5ac91 Merge pull request #4814 from scriptum/rpg-pcre-jit
Enable JIT in PCRE to improve regular expressions performance
2016-10-24 19:07:30 +02:00
Pavel Roschin
dbef9f97c2 Remove TODO for PCRE JIT 2016-10-10 02:21:35 +03:00
Pavel Roschin
61755945d2 Enable JIT in PCRE to improve regular expressions performance 2016-09-23 01:13:06 +03:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Konstantin Molchanov
41f5b3bf75 Stdlib: nre: Docstring improved. 2016-06-15 15:08:35 +04:00
Andreas Rumpf
99be6dce81 Merge pull request #4157 from flaviut/update-nre-docs
Generate NRE docs for website
2016-06-02 15:30:16 +02:00
Konstantin Molchanov
4006e0b8b7 Stdlib: nre: Add export options
This should make `nre` more user friendly. See https://github.com/nim-lang/Nim/issues/4158
2016-05-27 15:27:35 +04:00
Konstantin Molchanov
4f9b498103 Stdlib: nre: Convenience proc `contains` added. 2016-05-14 09:23:09 +04:00
Flaviu Tamas
4febf2784a Update NRE documentation 2016-05-13 16:43:43 -04:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
Flaviu Tamas
90292754f5 Fix flaviut/nre#20 2015-06-18 12:44:12 -04:00
Flaviu Tamas
5118c09f49 Fix ambiguous character literal 2015-06-07 13:13:05 -04:00
Flaviu Tamas
3bbbb1a682 Fix potential code bloat 2015-06-07 13:13:05 -04:00
Flaviu Tamas
ca81749f2a Rename RegexException according to NEP1 2015-06-07 13:13:04 -04:00
Flaviu Tamas
a707f8de65 Edit re and nre doc comments 2015-06-07 13:13:04 -04:00
Flaviu Tamas
4fbd95549d Clean up nre imports 2015-06-07 13:13:04 -04:00
Flaviu Tamas
38064d043a Use stdlib's PCRE in nre 2015-06-07 13:13:04 -04:00
Flaviu Tamas
075a5e8440 Disable static building of PCRE 2015-05-26 19:20:00 -04:00
Flaviu Tamas
42db40813c Clarify nre licencing 2015-05-26 19:18:34 -04:00
Flaviu Tamas
0527e1f9fe Rearrange nre files 2015-05-26 19:14:04 -04:00
Renamed from lib/impure/nre/src/nre.nim (Browse further)