summary refs log tree commit diff stats
path: root/lib/impure/re.nim
Commit message (Collapse)AuthorAgeFilesLines
* make re.split consistent with strutils.split and other programming ↵Andreas Rumpf2018-03-051-14/+28
| | | | languages; refs #7278
* Cleanup docs about re.nimAraq2018-03-051-5/+1
|
* re.nim: removed deprecated symbolsAraq2017-11-281-3/+0
|
* re.nim: Make tests green and deprecate 'parallelReplace'; it should be ↵Araq2017-11-281-5/+12
| | | | 'multiReplace' for consistency with strutils.nim
* Remove reExtended from re constructor. Fixes #5627. (#6514)Dominik Picheta2017-10-201-5/+8
| | | | | | * Remove reExtended from re constructor. Fixes #5627. * Implement `rex` procedure as requested by @Araq.
* Fixes #5382Anatoly Galiulin2017-02-131-1/+1
|
* re additions for buffer (cstring) RE matching (#5117)jlp7652017-01-161-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-jitAndreas Rumpf2016-10-241-2/+7
|\ | | | | Enable JIT in PCRE to improve regular expressions performance
| * Enable JIT in PCRE to improve regular expressions performancePavel Roschin2016-09-231-2/+7
| |
* | EIO is called IOError nowAraq2016-09-281-1/+1
|/
* de-deprecate re.nimAndreas Rumpf2016-06-131-5/+6
|
* documentation build cleaned upAndreas Rumpf2016-05-311-1/+1
|
* udpated the compiler and tester to use getOrDefaultAraq2015-10-131-1/+3
|
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-3/+3
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* renamed writeln to writeLine in libpatrick dw2015-06-191-1/+1
|
* Revert "Base re off of nre"Flaviu Tamas2015-06-101-142/+235
| | | | This reverts commit dc60a51e1545d8c73bc9415d1045864b72cfda0b.
* Edit re and nre doc commentsFlaviu Tamas2015-06-071-1/+1
|
* Deprecate reFlaviu Tamas2015-06-071-2/+2
|
* Adjust re for nre's inclusive boundsFlaviu Tamas2015-06-071-1/+1
|
* Base re off of nreOleh Prypin2015-06-071-238/+142
|
* Fix comment in reKoala Zen2015-05-061-2/+2
|
* Merge pull request #2506 from BlaXpirit/update-pcreAndreas Rumpf2015-04-211-7/+7
|\ | | | | Update and improve PCRE wrapper
| * Fix deprecation warnings in reOleh Prypin2015-04-101-7/+7
| |
* | Merge pull request #2560 from BlaXpirit/re-nre-hintAndreas Rumpf2015-04-151-2/+5
|\ \ | | | | | | Add a hint about NRE library to 're' module
| * | Add a hint about NRE to 're' moduleOleh Prypin2015-04-141-2/+5
| |/
* / Deprecate constant regular expression stringsOleh Prypin2015-04-141-14/+20
|/
* Merge pull request #2502 from def-/pcreAndreas Rumpf2015-04-101-45/+46
|\ | | | | Fix infinite loop in re.findAll
| * Fix infinite loop in findAlldef2015-04-091-0/+1
| |
| * Clean up re module a bitdef2015-04-091-45/+45
| |
* | Adds test case to is isMainModule blockJoseph Turner2015-04-081-1/+6
| | | | | | | | Adds the test case that originally caused the bug, issue #2418.
* | Fixes matching error #2418Joseph Turner2015-04-081-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.
* re.match returns true on zero-length match #2354Simon Hafner2015-03-161-15/+21
|
* Merge pull request #2260 from oderwat/upd-deprecated-repeatsAndreas Rumpf2015-03-041-1/+1
|\ | | | | Updates to remove deprecated repeatStr() and repeatChar() from all files.
| * Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-041-1/+1
| |
* | Fixed examples in the documentation of module re (proc replace and proc ↵Johanna Berewinkel2015-03-041-2/+2
|/ | | | replacef)
* slightly better docs for re moduleAraq2015-02-011-0/+6
|
* fixes #1496Araq2014-12-181-40/+44
|
* re module returns nil on failed capturesFlaviu Tamas2014-10-291-3/+13
| | | | | - tests included - news.txt updated
* prettified re.nim; make some tests greenAraq2014-08-311-56/+59
|
* Nimrod renamed to NimAraq2014-08-281-7/+7
|
* Nimrod renamed to NimAraq2014-08-281-3/+3
|
* distinguish between 'defined' and 'declared'Araq2014-08-111-1/+1
|
* case consistency part 6Araq2013-12-281-33/+33
|
* Warns to not modify string findAll is iterating over.Grzegorz Adam Hankiewicz2013-07-161-1/+4
|
* manyloc test should be green againAraq2013-06-041-1/+0
|
* pegs/re =~ warns about scope rule change; improved docsAraq2013-05-081-0/+1
|
* re.nim compiles againAraq2013-05-011-1/+2
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* first steps to make templates hygienicAraq2012-08-201-1/+4
|
* Both the re and pegs module's `=~` templates can now be used simultaneously ↵Dominik Picheta2012-07-211-1/+1
| | | | from the same module.