Ilya Gorbunov
|
288e0b3c7e
|
Allow to use Regex matches CharSequence and CharSequence matches Regex in infix form
#KT-14279
|
2017-01-25 21:31:42 +03:00 |
|
Ilya Gorbunov
|
6a70761783
|
Minor: normalize '@Test' annotation casing in all tests.
|
2016-11-21 18:20:33 +03:00 |
|
Ilya Gorbunov
|
dbcad08a35
|
Regex: MatchResult.groupValues do not exclude zeroth group, use the same indices as in groups collection.
Provide destructured property for destructured assignment.
|
2016-01-22 00:59:13 +03:00 |
|
Ilya Gorbunov
|
3459a24b0a
|
Regex: Introduce MatchResult.groupValues to get list of numbered group values exlcuding zeroth group with the entire match.
|
2016-01-22 00:56:08 +03:00 |
|
Ilya Gorbunov
|
07654eb82b
|
StdLib cleanup, deprecated symbol usage: size() and length()
|
2015-11-21 00:54:05 +03:00 |
|
Ilya Gorbunov
|
43bb9347c6
|
Rename Regex.hasMatch to containsMatchIn, and add corresponding contains function to CharSequence.
|
2015-10-14 22:49:50 +03:00 |
|
Ilya Gorbunov
|
d1d865aa0f
|
Rename methods in Regex. Add matchEntire method to match entire string against regex.
|
2015-10-14 22:49:48 +03:00 |
|
Denis Zharkov
|
5cecaa6f87
|
Get rid of deprecated annotations and modifiers in stdlib (besides JS)
|
2015-09-18 10:14:28 +03:00 |
|
Ilya Gorbunov
|
15d69499d0
|
Stop matching after the end of the input sequence was reached.
#KT-8763 Fixed
|
2015-08-11 05:11:32 +03:00 |
|
Ilya Gorbunov
|
aa6bdb039b
|
Take caution when advancing to the next match after an empty string was matched not to stuck at the same position.
|
2015-05-09 01:11:30 +03:00 |
|
Ilya Gorbunov
|
260553d516
|
Temporary workaround due to KT-7502.
Correct usage of joinToString.
Test for passing multiple options.
|
2015-05-09 01:11:28 +03:00 |
|
Ilya Gorbunov
|
81325208be
|
Remove Regex() and toRegex() overloads with vararg options. Now only zero, one or set of options are allowed.
|
2015-05-09 01:11:26 +03:00 |
|
Ilya Gorbunov
|
db13705506
|
Tests for match and replace.
|
2015-05-09 01:11:04 +03:00 |
|
Ilya Gorbunov
|
01ace84070
|
Regex implementation: split, replace and replaceFirst.
|
2015-05-09 01:11:00 +03:00 |
|
Ilya Gorbunov
|
559c1604d7
|
Rename Pattern to Regex.
toRegex now converts string to our regex, and toPattern converts to JVM Pattern.
|
2015-05-09 01:10:59 +03:00 |
|