Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated stuff from stdlib (#14699) | Miran | 2020-06-17 | 1 | -7/+0 |
| | | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff | ||||
* | close #14284 document semantics for start for re,nre; improve examples (#14483) | Timothee Cour | 2020-05-28 | 1 | -185/+50 |
| | |||||
* | Fail quickly if re or nre module is attempted to be compiled with js ↵ | Kaushal Modi | 2020-05-14 | 1 | -1/+3 |
| | | | | | [backport] (#14341) Fixes https://github.com/nim-lang/Nim/issues/14338 . | ||||
* | added note to re constructor regarding performance (#13224) | whiterock | 2020-01-22 | 1 | -1/+5 |
| | | | Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :) | ||||
* | ported re.nim to ARC | Araq | 2019-12-24 | 1 | -1/+10 |
| | |||||
* | [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. ↵ | 3n-k1 | 2019-11-28 | 1 | -1/+1 |
| | | | | (#12754) | ||||
* | Render deprecated pragmas (#8886) | LemonBoy | 2019-06-03 | 1 | -2/+2 |
| | | | | | | | | | * Render deprecated pragmas * fix the expected html * clean up the documentation regarding deprecations * fix typo * fix system.nim * fix random | ||||
* | fixes #11139 (re.nim memory leak) (#11265) | Miran | 2019-05-16 | 1 | -1/+1 |
| | | | Use the same PCRE function for freeing up the memory as nre.nim does. | ||||
* | live with the hacks, PCRE's design is crap | Araq | 2019-03-19 | 1 | -2/+5 |
| | |||||
* | pcre.nim: added pcre_free and removed hacks in nre and re.nim | Andreas Rumpf | 2019-03-19 | 1 | -5/+2 |
| | |||||
* | fix replacef typo in example | Kobi | 2019-02-13 | 1 | -1/+1 |
| | |||||
* | Remove long deprecated stuff (#10332) | Miran | 2019-01-18 | 1 | -26/+1 |
| | |||||
* | fix split proc ignored maxsplit argument. Proc split didn't pass maxsplit ↵ | Denis Lisovik | 2018-11-11 | 1 | -1/+8 |
| | | | | argument to split iterator | ||||
* | fixes #9306 properly, fixes #9306 | Andreas Rumpf | 2018-10-14 | 1 | -2/+12 |
| | |||||
* | Fix type in docs (#9362) | Josh Goebel | 2018-10-14 | 1 | -1/+1 |
| | |||||
* | fixes #9306 | Araq | 2018-10-11 | 1 | -2/+2 |
| | |||||
* | make nimweb compile again | Araq | 2018-08-14 | 1 | -1/+1 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -5/+3 |
| | |||||
* | Fix typo: PRCE -> PCRE | Kaushal Modi | 2018-06-05 | 1 | -3/+3 |
| | |||||
* | make re.split consistent with strutils.split and other programming ↵ | Andreas Rumpf | 2018-03-05 | 1 | -14/+28 |
| | | | | languages; refs #7278 | ||||
* | Cleanup docs about re.nim | Araq | 2018-03-05 | 1 | -5/+1 |
| | |||||
* | re.nim: removed deprecated symbols | Araq | 2017-11-28 | 1 | -3/+0 |
| | |||||
* | re.nim: Make tests green and deprecate 'parallelReplace'; it should be ↵ | Araq | 2017-11-28 | 1 | -5/+12 |
| | | | | 'multiReplace' for consistency with strutils.nim | ||||
* | Remove reExtended from re constructor. Fixes #5627. (#6514) | Dominik Picheta | 2017-10-20 | 1 | -5/+8 |
| | | | | | | * Remove reExtended from re constructor. Fixes #5627. * Implement `rex` procedure as requested by @Araq. | ||||
* | Fixes #5382 | Anatoly Galiulin | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | re additions for buffer (cstring) RE matching (#5117) | jlp765 | 2017-01-16 | 1 | -98/+244 |
| | | | | | | | | | | | | | | | | | | * Replace expr with untyped * Add buffer (cstring) related procs Replace expr with untyped Replace testing assert() procs with doAssert() * make the string variants call the cstring variants in order to fight code size * Remove redundant proc * fix casting of cstring add init of variables (identified by verbosity:3) * Speed up - use pattern.e for exec() inline some procs | ||||
* | Merge pull request #4814 from scriptum/rpg-pcre-jit | Andreas Rumpf | 2016-10-24 | 1 | -2/+7 |
|\ | | | | | Enable JIT in PCRE to improve regular expressions performance | ||||
| * | Enable JIT in PCRE to improve regular expressions performance | Pavel Roschin | 2016-09-23 | 1 | -2/+7 |
| | | |||||
* | | EIO is called IOError now | Araq | 2016-09-28 | 1 | -1/+1 |
|/ | |||||
* | de-deprecate re.nim | Andreas Rumpf | 2016-06-13 | 1 | -5/+6 |
| | |||||
* | documentation build cleaned up | Andreas Rumpf | 2016-05-31 | 1 | -1/+1 |
| | |||||
* | udpated the compiler and tester to use getOrDefault | Araq | 2015-10-13 | 1 | -1/+3 |
| | |||||
* | lib: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -3/+3 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | renamed writeln to writeLine in lib | patrick dw | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | Revert "Base re off of nre" | Flaviu Tamas | 2015-06-10 | 1 | -142/+235 |
| | | | | This reverts commit dc60a51e1545d8c73bc9415d1045864b72cfda0b. | ||||
* | Edit re and nre doc comments | Flaviu Tamas | 2015-06-07 | 1 | -1/+1 |
| | |||||
* | Deprecate re | Flaviu Tamas | 2015-06-07 | 1 | -2/+2 |
| | |||||
* | Adjust re for nre's inclusive bounds | Flaviu Tamas | 2015-06-07 | 1 | -1/+1 |
| | |||||
* | Base re off of nre | Oleh Prypin | 2015-06-07 | 1 | -238/+142 |
| | |||||
* | Fix comment in re | Koala Zen | 2015-05-06 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2506 from BlaXpirit/update-pcre | Andreas Rumpf | 2015-04-21 | 1 | -7/+7 |
|\ | | | | | Update and improve PCRE wrapper | ||||
| * | Fix deprecation warnings in re | Oleh Prypin | 2015-04-10 | 1 | -7/+7 |
| | | |||||
* | | Merge pull request #2560 from BlaXpirit/re-nre-hint | Andreas Rumpf | 2015-04-15 | 1 | -2/+5 |
|\ \ | | | | | | | Add a hint about NRE library to 're' module | ||||
| * | | Add a hint about NRE to 're' module | Oleh Prypin | 2015-04-14 | 1 | -2/+5 |
| |/ | |||||
* / | Deprecate constant regular expression strings | Oleh Prypin | 2015-04-14 | 1 | -14/+20 |
|/ | |||||
* | Merge pull request #2502 from def-/pcre | Andreas Rumpf | 2015-04-10 | 1 | -45/+46 |
|\ | | | | | Fix infinite loop in re.findAll | ||||
| * | Fix infinite loop in findAll | def | 2015-04-09 | 1 | -0/+1 |
| | | |||||
| * | Clean up re module a bit | def | 2015-04-09 | 1 | -45/+45 |
| | | |||||
* | | Adds test case to is isMainModule block | Joseph Turner | 2015-04-08 | 1 | -1/+6 |
| | | | | | | | | Adds the test case that originally caused the bug, issue #2418. | ||||
* | | Fixes matching error #2418 | Joseph Turner | 2015-04-08 | 1 | -5/+8 |
|/ | | | | | | | | Fixes the split iterator, the main problem was with the incrementation of 'last'. Last was first incremented to the index of the first character after the match, but was then incremented again at the beginning of the while loop. This caused a problem if that character after the first match, also matched the regular expression. |