summary refs log tree commit diff stats
path: root/lib/impure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2818 from flaviut/add-nreAndreas Rumpf2015-06-124-7/+758
|\ | | | | Add nre to stdlib
| * Revert "Base re off of nre"Flaviu Tamas2015-06-101-142/+235
| | | | | | | | This reverts commit dc60a51e1545d8c73bc9415d1045864b72cfda0b.
| * Fix ambiguous character literalFlaviu Tamas2015-06-071-1/+1
| |
| * Fix potential code bloatFlaviu Tamas2015-06-071-4/+5
| |
| * Rename RegexException according to NEP1Flaviu Tamas2015-06-071-5/+5
| |
| * Edit re and nre doc commentsFlaviu Tamas2015-06-072-20/+1
| |
| * Clean up nre importsFlaviu Tamas2015-06-071-2/+1
| |
| * Use stdlib's PCRE in nreFlaviu Tamas2015-06-072-443/+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
| |
| * Ensure no one uses internal moduleFlaviu Tamas2015-06-071-0/+1
| |
| * Merge branch 'devel' of https://github.com/Araq/Nim into add-nreFlaviu Tamas2015-06-077-155/+162
| |\ | | | | | | | | | | | | | | | * 'devel' of https://github.com/Araq/Nim: Fix #964, fix #1384 Don't inspect typedescs
| * | Disable static building of PCREFlaviu Tamas2015-05-2628-44889/+10
| | |
| * | Clarify nre licencingFlaviu Tamas2015-05-261-0/+53
| | |
| * | Rearrange nre filesFlaviu Tamas2015-05-2646-579/+3
| | |
| * | Merge remote 'nre' into add-nreFlaviu Tamas2015-05-2647-0/+46616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nre-proj/master: (132 commits) Change to options module Reweave readme Better handle errors Update documentation Change flags to inline Improve performance Add tests for empty or non-empty match Fix skipping an empty match at the end Add longer flags Fix getinfo overflows Use docweave Convert readme to RST Fix result shadowing warning Throw an exception when replacing with a nil value Fix potential buffer overflow Fix zero-length matches for multibyte characters Make splitting an empty string give 1 empty result Change endpos to inclusive Change endpos default from -1 to int.high Change capture upper bounds to inclusive ...
* | | db: InstantRow and instantRowsAdam Strzelecki2015-06-093-1/+71
| |/ |/| | | | | | | | | | | | | | | | | | | It is drop-in replacement for Row and fastRows, however instantRows returns a handle, not seq[string], so no Nim string is created until [] operator is called on the given handle. Also there is a len() proc returning number of columns in the handle. In some situations, when we iterate through many rows, but later we just read few columns this solution will be quicker than converting all column to Nim seq[string] on each iteration.
* | Fixup: Reverted TZipFileStream name changeAdam Strzelecki2015-06-051-1/+1
| | | | | | | | | | This fixes broken b0469c11e334e96cebe53cbe804b6a877831c85a that incompletely reverted TZipFileStream name change.
* | Reverted TZipFileStream name changePerelandric2015-06-041-2/+1
| |
* | lib/impure - Dropped 'T' from typespdw2015-06-047-157/+165
|/
* Fix comment in reKoala Zen2015-05-061-2/+2
|
* Make zipfiles module work againdef2015-05-031-36/+50
| | | | Also adds an example usage to the module
* Fix Termios wrapperdef2015-04-241-1/+1
|
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-213-3/+3
|
* 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.
* Merge pull request #2357 from reactormonk/zero-length-matchAndreas Rumpf2015-03-221-15/+21
|\ | | | | re.match returns true on zero-length match #2354
| * re.match returns true on zero-length match #2354Simon Hafner2015-03-161-15/+21
| |
* | move database encoding options to setEncoding(), leave open() as it isKeMeGe2015-03-163-13/+31
| |
* | Add character set options when opening DB connectionKeMeGe2015-03-143-6/+12
|/
* Removed osinfo_* modules.Dominik Picheta2015-03-122-488/+20
| | | | They will be available under the 'osinfo' Nimble package.
* fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be usedAraq2015-03-101-1/+1
|
* don't use conio.h on windows (#2137)Araq2015-03-081-11/+55
|
* 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)
* Merge pull request #2095 from def-/rdstdin-winfixAndreas Rumpf2015-02-121-6/+12
|\ | | | | Fix readPasswordFromStdin for Windows
| * Add a new line after readPasswordFromStdin, add resultdef2015-02-091-5/+11
| |
| * Fix readPasswordFromStdin for Windowsdef2015-02-081-1/+1
| |
* | Corrected warnings about deprecated namesHans Raaf2015-02-111-2/+2
|/ | | | I got warning about deprecated names here. I also know that other names probably need to change (T/P prefixes) but I am unsure about the exact rules. I may do that later if you like.
* 'nimsuggest' compiles againAraq2015-02-081-11/+13
|