summary refs log tree commit diff stats
path: root/lib/impure/re.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 'addSon' for types deprecated for 'int literal type' analysis (3)Araq2012-07-091-9/+9
|
* changed integer promotion rules; breaks bootstrapping and lots of codeAraq2012-07-081-8/+8
|
* fixes #113Araq2012-05-201-12/+16
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* tester checks exitcode; osproc additions; DLL fixes; taint mode fixesAraq2011-11-071-1/+1
|
* preparations for 0.8.12Araq2011-07-101-1/+1
|
* readFile raises EIO instead of returning nil; added system.writeFileAraq2011-06-161-10/+2
|
* deprecated system.copy: use system.substr insteadAraq2011-05-141-11/+11
|
* distinction between re.replace and re.replacef; speed improvements for re moduleAraq2011-03-061-34/+110
|
* various bugfixes for generics; added generic sort procAraq2011-03-031-3/+7
|
* nimgrep: first working versionAraq2011-02-021-0/+18
|
* httpserver may work better nowAraq2011-01-131-1/+1
|