Commit Graph

83 Commits

Author SHA1 Message Date
Flaviu Tamas
a5693675fb Remove findAll, rename findAllStr to findAll 2015-01-19 15:22:02 -05:00
Flaviu Tamas
6bd3660238 Bump version 2015-01-19 12:07:16 -05:00
Flaviu Tamas
a929b4825a Clarify replace() syntax 2015-01-19 10:16:40 -05:00
Flaviu Tamas
31dfa97e3d Improve replacement performance 2015-01-19 08:26:32 -05:00
Flaviu Tamas
e91dd1d956 Add more replace test cases 2015-01-19 07:49:00 -05:00
Flaviu Tamas
a14a2e7a84 Merge remote-tracking branch 'blaxpirit/master'
* blaxpirit/master:
  Fix last element when splitting with 0-length match

Conflicts:
	test/split.nim
2015-01-19 07:43:05 -05:00
Flaviu Tamas
a938d42334 Fix maxsplit to conform to perl 2015-01-19 07:38:09 -05:00
Flaviu Tamas
04699a7587 Add perl split tests 2015-01-19 07:37:04 -05:00
Oleh Prypin
41c0060e6d Fix last element when splitting with 0-length match 2015-01-19 14:33:05 +02:00
Flaviu Tamas
260ab8b01b Include pcre sources with library
Advantages are that it works better on non-linux
2015-01-18 18:32:10 -05:00
Flaviu Tamas
7db05feac6 Add licence 2015-01-18 14:01:25 -05:00
Flaviu Tamas
7bce00b4cd Add escapeRe 2015-01-18 13:45:56 -05:00
Flaviu Tamas
0b24ba0d26 Fix typo 2015-01-18 13:10:50 -05:00
Flaviu Tamas
2598909ffd Add $ operator 2015-01-18 13:10:19 -05:00
Flaviu Tamas
f141737b9f Remove initRegex 2015-01-18 13:04:56 -05:00
Flaviu Tamas
ca299504d1 Make study a negatable option instead 2015-01-18 12:49:22 -05:00
Flaviu Tamas
a80617fd4c Disable extended default 2015-01-18 12:41:43 -05:00
Flaviu Tamas
85a7be9cf0 Improve readme confusion 2015-01-18 12:36:57 -05:00
Flaviu Tamas
02a93b11aa Add a test case with 0-length match
Thanks Oleh Prypin
2015-01-18 12:31:15 -05:00
Flaviu Tamas
d62b41fa1c s/asTable/toTable/
toTable is more consistent with toSeq
2015-01-18 12:29:10 -05:00
Flaviu Tamas
1bcaa21729 Add maxsplit 2015-01-18 12:28:19 -05:00
Flaviu Tamas
ff2e3de580 Make find more prominent 2015-01-18 12:18:43 -05:00
Flaviu Tamas
0aaad199a4 Clarify iterator status 2015-01-18 12:08:49 -05:00
Flaviu Tamas
d407282e35 Change readme formatting 2015-01-18 12:07:31 -05:00
Flaviu Tamas
c70a9932b9 Adjust formatting 2015-01-18 12:05:45 -05:00
Flaviu Tamas
79b43b19a8 Add examples 2015-01-18 12:04:09 -05:00
Flaviu Tamas
39bc8c2bfb Update Readme 2015-01-18 11:47:05 -05:00
Flaviu Tamas
cc0d16c5ee Remove markdown readme 2015-01-18 11:37:44 -05:00
Flaviu Tamas
a922418443 Fix readme formatting 2015-01-18 11:37:23 -05:00
Flaviu Tamas
88a4e6c740 Translate readme to asciidoc 2015-01-18 11:34:56 -05:00
Flaviu Tamas
5f4095fd94 Add type documentation 2015-01-18 11:03:36 -05:00
Flaviu Tamas
2e80d64aae Update documentation 2015-01-17 22:49:34 -05:00
Flaviu Tamas
447d0e0e8b Add more typical string replace 2015-01-17 22:45:23 -05:00
Flaviu Tamas
4d25a89ba9 Add replace
Also came a cross a find bug with 0-length subject strings
2015-01-17 16:21:25 -05:00
Flaviu Tamas
a7ce05b42f Add tests for claims in documentation 2015-01-16 20:04:38 -05:00
Flaviu Tamas
abccac2f06 Add split(...) 2015-01-16 20:04:20 -05:00
Flaviu Tamas
085903cd10 Update readme formatting 2015-01-16 19:56:05 -05:00
Flaviu Tamas
3fd5140554 Update anchor values 2015-01-16 19:54:39 -05:00
Flaviu Tamas
39e13ba5d0 Document find___(...) 2015-01-16 19:53:29 -05:00
Flaviu Tamas
6a2ebb804f Make it easier to run tests
Now it's just `$ ./runtests.sh`!
2015-01-16 19:22:36 -05:00
Flaviu Tamas
01e22abb19 Fix upper bound handling 2015-01-16 19:22:21 -05:00
Flaviu Tamas
4a67b723a0 Update readme formatting 2015-01-16 19:14:16 -05:00
Flaviu Tamas
d4450aa1ee Add additional tests for match 2015-01-16 19:12:05 -05:00
Flaviu Tamas
1a5401ebcf s/match/find/g
The implementation needs to match the API after all ;)
2015-01-16 19:11:28 -05:00
Flaviu Tamas
ca3e72ee27 Add match(...) to documentation 2015-01-16 19:10:48 -05:00
Flaviu Tamas
f88f4912c2 Add captures in split 2015-01-15 19:53:43 -05:00
Flaviu Tamas
a03d178a56 Implement capture iterator 2015-01-15 19:53:31 -05:00
Flaviu Tamas
c0c0920d19 Add another split testcase
Thanks Oleh Prypin for the suggestion!
2015-01-15 17:39:20 -05:00
Flaviu Tamas
d649cec033 s/asSeq/toSeq
`toSeq` is a better name for it
2015-01-15 17:39:14 -05:00
Flaviu Tamas
a198c10d6c Add study to docs 2015-01-15 16:19:56 -05:00