Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| |/ | |||||
| * | Add CircleCI | Flaviu Tamas | 2015-04-09 | 1 | -0/+39 |
| | | |||||
| * | Adjust readme formatting | Flaviu Tamas | 2015-03-30 | 1 | -1/+8 |
| | | | | | | | | | | - Add table of contents - Move image to bottom | ||||
| * | Remove renderBounds() | Flaviu Tamas | 2015-03-05 | 1 | -7/+0 |
| | | | | | | A debug proc, it's not really useful and throws warnings anyway. | ||||
| * | Fix broken logic in 7296c6d | Flaviu Tamas | 2015-03-04 | 1 | -4/+6 |
| | | | | | | | | Thanks @fowlmouth for pointing this problem out in IRC. | ||||
| * | Fix tests broken in 7296c6d | Flaviu Tamas | 2015-03-04 | 1 | -1/+2 |
| | | | | | | | | 7296c6d doesn't do any nil checking, so it segfaults on `==` on `Regex` | ||||
| * | Fix "could not import: pcre_stack_guard" | Flaviu Tamas | 2015-03-04 | 1 | -0/+1 |
| | | | | | | | | | | | | kanaka/mal#20 related, seems like some systems have older PCREs, without pcre_stack_guard. Since it isn't expclitly used, this will *hopefully* prevent errors from occurring. | ||||
| * | Add equality operator for RegexMatch and Regex | Flaviu Tamas | 2015-03-03 | 2 | -1/+13 |
| | | | | | | | | | | - Technically a breaking change, but I doubt anyone depends on a compile-time error for long ;) | ||||
| * | Add more details about modifier syntax | Flaviu Tamas | 2015-02-11 | 1 | -1/+7 |
| | | | | | | See discussion on #4 for details. | ||||
| * | Remove unnecessary filter | Flaviu Tamas | 2015-02-07 | 1 | -2/+1 |
| | | | | | | | | The things it was filtering do not need to be filtered | ||||
| * | Use /bin/sh | Flaviu Tamas | 2015-02-07 | 1 | -1/+1 |
| | | | | | | | | Apparently /usr/bin/sh only works in Arch Linux | ||||
| * | Bump version number | Flaviu Tamas | 2015-01-31 | 1 | -2/+2 |
| | | |||||
| * | Update documentation | Flaviu Tamas | 2015-01-31 | 1 | -3/+4 |
| | | |||||
| * | Change RegexMatch from ref to Option | Flaviu Tamas | 2015-01-31 | 5 | -23/+20 |
| | | | | | | | | Also associated changes to tests and code | ||||
| * | Remove match cache | Flaviu Tamas | 2015-01-28 | 1 | -7/+1 |
| | | |||||
| * | Bump version | Flaviu Tamas | 2015-01-24 | 1 | -1/+1 |
| | | |||||
| * | Allow custom test parameters | Flaviu Tamas | 2015-01-24 | 1 | -1/+1 |
| | | |||||
| * | Add start to split | Flaviu Tamas | 2015-01-24 | 3 | -6/+13 |
| | | |||||
| * | Bump version | Flaviu Tamas | 2015-01-21 | 1 | -1/+1 |
| | | |||||
| * | Fix build on windows | Flaviu Tamas | 2015-01-21 | 1 | -25/+24 |
| | | | | | | | | Issues including "pcre.h", but it's not needed anyway! I can just get rid of it. | ||||
| * | Add logo | Flaviu Tamas | 2015-01-20 | 3 | -1/+2 |
| | | |||||
| * | Add dynlib option | Flaviu Tamas | 2015-01-20 | 2 | -28/+48 |
| | | |||||
| * | Elaborate on UCP | Flaviu Tamas | 2015-01-20 | 1 | -1/+1 |
| | | |||||
| * | Fix incorrect property check | Flaviu Tamas | 2015-01-20 | 2 | -1/+3 |
| | | |||||
| * | Enable UTF and UCP support in PCRE | Flaviu Tamas | 2015-01-20 | 3 | -2/+8 |
| | |