Commit Graph

14 Commits

Author SHA1 Message Date
Oleh Prypin
16577f8167 Fix zero-length matches for multibyte characters 2015-04-10 15:34:22 +03:00
Oleh Prypin
1fe69b94c9 Make splitting an empty string give 1 empty result 2015-04-10 00:19:00 +03:00
Flaviu Tamas
e027ea9139 Add start to split 2015-01-24 14:58:09 -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
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
1bcaa21729 Add maxsplit 2015-01-18 12:28:19 -05:00
Flaviu Tamas
a7ce05b42f Add tests for claims in documentation 2015-01-16 20:04:38 -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
c4cb781c3d Flip parameter string-pattern order 2015-01-12 20:56:34 -05:00
Flaviu Tamas
2474758ed5 Implement match, find, split 2015-01-12 20:09:19 -05:00