summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Updated random functionsapense2015-06-111-4/+12
| | | For Windows, `rand_s` has been available since Windows XP (see https://msdn.microsoft.com/en-us/library/sxtz2fa8.aspx). It gives a better quality random number in a larger range (the max is actually `0xffffffff`).
* Merge pull request #2894 from nanoant/patch/macros-real-node-compareAndreas Rumpf2015-06-122-1/+44
|\ | | | | Real node compare for macros
| * macros: Add test for node comparsionAdam Strzelecki2015-06-101-0/+39
| |
| * macros: exprStructuralEquivalent for EqNimrodNodeAdam Strzelecki2015-06-101-1/+5
| | | | | | | | | | Previously NimNode comparison in macros way returning false for anything else than nil literal.
* | Merge pull request #2902 from yglukhov/js-copying-fixAndreas Rumpf2015-06-123-24/+45
|\ \ | | | | | | Fixed copying of aggregates in JS.
| * | Fixed copying of aggregates in JS.yglukhov2015-06-113-24/+45
| | |
* | | Merge pull request #2818 from flaviut/add-nreAndreas Rumpf2015-06-1215-8/+1009
|\ \ \ | | | | | | | | 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
| | | |
| * | | Update news for nreFlaviu Tamas2015-06-071-1/+6
| | | |
| * | | Ensure no one uses internal moduleFlaviu Tamas2015-06-071-0/+1
| | | |
| * | | Fix nre testsFlaviu Tamas2015-06-071-1/+1
| | | |
| * | | Merge branch 'devel' of https://github.com/Araq/Nim into add-nreFlaviu Tamas2015-06-07168-6974/+6318
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * '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-2647-343/+12
| | | | |
| * | | | 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 ...
| | * | | | Change to options moduleFlaviu Tamas2015-05-266-24/+25
| | | | | |
| | * | | | Reweave readmeFlaviu Tamas2015-05-112-44/+57
| | | | | | | | | | | | | | | | | | | | | | | | Also fix some syntax errors in the RST
| | * | | | Merge pull request #14 from BlaXpirit/inline-optionsFlaviu Tamas2015-05-085-125/+121
| | |\ \ \ \ | | | | | | | | | | | | | | Inline options
| | | * | | | Update documentationOleh Prypin2015-04-131-37/+38
| | | | | | |
| | | * | | | Change flags to inlineOleh Prypin2015-04-135-88/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flags can no longer be specified in a 2nd argument. Now they are part of the regular expression string.
| | * | | | | Merge pull request #13 from flaviut/better-exceptionsFlaviu Tamas2015-05-041-6/+25
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | Better handle errors
| | | * | | | Better handle errorsFlaviu Tamas2015-05-041-6/+25
| | |/ / / / | | | | | | | | | | | | | | | | | | Fixes #7
| | * | | | Improve performanceFlaviu Tamas2015-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing ANCHORED means that after findIter is unable to find any more matches, it doesn't bother searching unless there are some promising 0-len matches. This significantly improves performance on problems like `"abccccccccccccc".find(re"a")`. Previously, each "c" would require a call to pcre_exec, which would iterate over [index_of_c..string.len], a O(n^2) process!
| | * | | | Add tests for empty or non-empty matchOleh Prypin2015-04-121-1/+11
| | | | | |
| | * | | | Fix skipping an empty match at the endOleh Prypin2015-04-123-4/+5
| | | | | |
| | * | | | Add longer flagsFlaviu Tamas2015-04-112-15/+33
| | | | | | | | | | | | | | | | | | | | | | | | It is now possible to use longer flags instead of the short one-letter ones.
| | * | | | Fix getinfo overflowsFlaviu Tamas2015-04-111-4/+5
| | | | | |
| | * | | | Use docweaveFlaviu Tamas2015-04-112-186/+336
| | | | | | | | | | | | | | | | | | | | | | | | The readme file is now generated from the contents of the nre module.
| | * | | | Convert readme to RSTFlaviu Tamas2015-04-112-194/+269
| | | | | |
| | * | | | Fix result shadowing warningFlaviu Tamas2015-04-101-5/+5
| | | | | |
| | * | | | Throw an exception when replacing with a nil valueFlaviu Tamas2015-04-103-30/+43
| | | | | |
| | * | | | Fix potential buffer overflowFlaviu Tamas2015-04-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under certain circumstances, it would be possible for a too-large number sent cause a buffer overflow by passing a too-large endpos.
| | * | | | Merge pull request #10 from BlaXpirit/fix-skip-zeroFlaviu Tamas2015-04-104-5/+8
| | |\ \ \ \ | | | | | | | | | | | | | | Fix zero-length matches for multibyte characters
| | | * | | | Fix zero-length matches for multibyte charactersOleh Prypin2015-04-104-5/+8
| | |/ / / /
| | * | | | Merge pull request #9 from BlaXpirit/masterFlaviu Tamas2015-04-092-2/+2
| | |\ \ \ \ | | | | | | | | | | | | | | Make splitting an empty string give 1 empty result
| | | * | | | Make splitting an empty string give 1 empty resultOleh Prypin2015-04-102-2/+2
| | |/ / / /
| | * | | | Merge pull request #8 from BlaXpirit/incl-indicesFlaviu Tamas2015-04-095-49/+49
| | |\ \ \ \ | | | | | | | | | | | | | | Change capture upper bounds to inclusive
| | | * | | | Change endpos to inclusiveOleh Prypin2015-04-093-10/+11
| | | | | | |
| | | * | | | Change endpos default from -1 to int.highOleh Prypin2015-04-092-12/+12
| | | | | | |
| | | * | | | Change capture upper bounds to inclusiveOleh Prypin2015-04-095-30/+29
| | |/ / / /