Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated random functions | apense | 2015-06-11 | 1 | -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-compare | Andreas Rumpf | 2015-06-12 | 2 | -1/+44 |
|\ | | | | | Real node compare for macros | ||||
| * | macros: Add test for node comparsion | Adam Strzelecki | 2015-06-10 | 1 | -0/+39 |
| | | |||||
| * | macros: exprStructuralEquivalent for EqNimrodNode | Adam Strzelecki | 2015-06-10 | 1 | -1/+5 |
| | | | | | | | | | | Previously NimNode comparison in macros way returning false for anything else than nil literal. | ||||
* | | Merge pull request #2902 from yglukhov/js-copying-fix | Andreas Rumpf | 2015-06-12 | 3 | -24/+45 |
|\ \ | | | | | | | Fixed copying of aggregates in JS. | ||||
| * | | Fixed copying of aggregates in JS. | yglukhov | 2015-06-11 | 3 | -24/+45 |
| | | | |||||
* | | | Merge pull request #2818 from flaviut/add-nre | Andreas Rumpf | 2015-06-12 | 15 | -8/+1009 |
|\ \ \ | | | | | | | | | Add nre to stdlib | ||||
| * | | | Revert "Base re off of nre" | Flaviu Tamas | 2015-06-10 | 1 | -142/+235 |
| | | | | | | | | | | | | | | | | This reverts commit dc60a51e1545d8c73bc9415d1045864b72cfda0b. | ||||
| * | | | Fix ambiguous character literal | Flaviu Tamas | 2015-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix potential code bloat | Flaviu Tamas | 2015-06-07 | 1 | -4/+5 |
| | | | | |||||
| * | | | Rename RegexException according to NEP1 | Flaviu Tamas | 2015-06-07 | 1 | -5/+5 |
| | | | | |||||
| * | | | Edit re and nre doc comments | Flaviu Tamas | 2015-06-07 | 2 | -20/+1 |
| | | | | |||||
| * | | | Clean up nre imports | Flaviu Tamas | 2015-06-07 | 1 | -2/+1 |
| | | | | |||||
| * | | | Use stdlib's PCRE in nre | Flaviu Tamas | 2015-06-07 | 2 | -443/+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 |
| | | | | |||||
| * | | | Update news for nre | Flaviu Tamas | 2015-06-07 | 1 | -1/+6 |
| | | | | |||||
| * | | | Ensure no one uses internal module | Flaviu Tamas | 2015-06-07 | 1 | -0/+1 |
| | | | | |||||
| * | | | Fix nre tests | Flaviu Tamas | 2015-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'devel' of https://github.com/Araq/Nim into add-nre | Flaviu Tamas | 2015-06-07 | 168 | -6974/+6318 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | * 'devel' of https://github.com/Araq/Nim: Fix #964, fix #1384 Don't inspect typedescs | ||||
| * | | | | Disable static building of PCRE | Flaviu Tamas | 2015-05-26 | 28 | -44889/+10 |
| | | | | | |||||
| * | | | | Clarify nre licencing | Flaviu Tamas | 2015-05-26 | 1 | -0/+53 |
| | | | | | |||||
| * | | | | Rearrange nre files | Flaviu Tamas | 2015-05-26 | 47 | -343/+12 |
| | | | | | |||||
| * | | | | Merge remote 'nre' into add-nre | Flaviu Tamas | 2015-05-26 | 47 | -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 module | Flaviu Tamas | 2015-05-26 | 6 | -24/+25 |
| | | | | | | |||||
| | * | | | | Reweave readme | Flaviu Tamas | 2015-05-11 | 2 | -44/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | Also fix some syntax errors in the RST | ||||
| | * | | | | Merge pull request #14 from BlaXpirit/inline-options | Flaviu Tamas | 2015-05-08 | 5 | -125/+121 |
| | |\ \ \ \ | | | | | | | | | | | | | | | Inline options | ||||
| | | * | | | | Update documentation | Oleh Prypin | 2015-04-13 | 1 | -37/+38 |
| | | | | | | | |||||
| | | * | | | | Change flags to inline | Oleh Prypin | 2015-04-13 | 5 | -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-exceptions | Flaviu Tamas | 2015-05-04 | 1 | -6/+25 |
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | | Better handle errors | ||||
| | | * | | | | Better handle errors | Flaviu Tamas | 2015-05-04 | 1 | -6/+25 |
| | |/ / / / | | | | | | | | | | | | | | | | | | | Fixes #7 | ||||
| | * | | | | Improve performance | Flaviu Tamas | 2015-04-12 | 1 | -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 match | Oleh Prypin | 2015-04-12 | 1 | -1/+11 |
| | | | | | | |||||
| | * | | | | Fix skipping an empty match at the end | Oleh Prypin | 2015-04-12 | 3 | -4/+5 |
| | | | | | | |||||
| | * | | | | Add longer flags | Flaviu Tamas | 2015-04-11 | 2 | -15/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | It is now possible to use longer flags instead of the short one-letter ones. | ||||
| | * | | | | Fix getinfo overflows | Flaviu Tamas | 2015-04-11 | 1 | -4/+5 |
| | | | | | | |||||
| | * | | | | Use docweave | Flaviu Tamas | 2015-04-11 | 2 | -186/+336 |
| | | | | | | | | | | | | | | | | | | | | | | | | The readme file is now generated from the contents of the nre module. | ||||
| | * | | | | Convert readme to RST | Flaviu Tamas | 2015-04-11 | 2 | -194/+269 |
| | | | | | | |||||
| | * | | | | Fix result shadowing warning | Flaviu Tamas | 2015-04-10 | 1 | -5/+5 |
| | | | | | | |||||
| | * | | | | Throw an exception when replacing with a nil value | Flaviu Tamas | 2015-04-10 | 3 | -30/+43 |
| | | | | | | |||||
| | * | | | | Fix potential buffer overflow | Flaviu Tamas | 2015-04-10 | 1 | -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-zero | Flaviu Tamas | 2015-04-10 | 4 | -5/+8 |
| | |\ \ \ \ | | | | | | | | | | | | | | | Fix zero-length matches for multibyte characters | ||||
| | | * | | | | Fix zero-length matches for multibyte characters | Oleh Prypin | 2015-04-10 | 4 | -5/+8 |
| | |/ / / / | |||||
| | * | | | | Merge pull request #9 from BlaXpirit/master | Flaviu Tamas | 2015-04-09 | 2 | -2/+2 |
| | |\ \ \ \ | | | | | | | | | | | | | | | Make splitting an empty string give 1 empty result | ||||
| | | * | | | | Make splitting an empty string give 1 empty result | Oleh Prypin | 2015-04-10 | 2 | -2/+2 |
| | |/ / / / | |||||
| | * | | | | Merge pull request #8 from BlaXpirit/incl-indices | Flaviu Tamas | 2015-04-09 | 5 | -49/+49 |
| | |\ \ \ \ | | | | | | | | | | | | | | | Change capture upper bounds to inclusive | ||||
| | | * | | | | Change endpos to inclusive | Oleh Prypin | 2015-04-09 | 3 | -10/+11 |
| | | | | | | | |||||
| | | * | | | | Change endpos default from -1 to int.high | Oleh Prypin | 2015-04-09 | 2 | -12/+12 |
| | | | | | | | |||||
| | | * | | | | Change capture upper bounds to inclusive | Oleh Prypin | 2015-04-09 | 5 | -30/+29 |
| | |/ / / / |