Results /
elm-regex
elm/regex
Discussions of this project and its tests ↓
Showing 12 of 12 tests. Hover over a badge for the reason.
| Test | elm-0.19.1 | elm-0.19.2 | elm-0.19.3 | lamdera-1.5.0 |
|---|---|---|---|---|
| RegexContainsTest `Regex.contains` reports whether a regex matches anywhere in a string. | pass | pass | pass | pass |
| RegexFindTest `Regex.find` returns one match for each non-overlapping run of the pattern. | pass | pass | pass | pass |
| RegexFromStringTest `Regex.fromString` returns `Just` for a valid pattern and `Nothing` for an invalid one. | pass | pass | pass | pass |
| RegexIssue13FindStopsAtEmptyMatchTestelm19-bug `Regex.find` stops at the first empty match instead of moving past it. | fail | fail | fail | fail |
| RegexIssue18SplitWordBoundaryTestelm19-bug `Regex.split` on a zero-width match such as `\b` never terminates. | fail | fail | fail | fail |
| RegexIssue5EmptyCaptureGroupTestelm19-bug A capture group that matches the empty string is reported as `Nothing`. | fail | fail | fail | fail |
| RegexIssue6SplitEmptyRegexTestelm19-bug `Regex.split` with a regex matching the empty string loops forever, until memory runs out. | fail | fail | fail | fail |
| RegexMatchRecordTest The `Match` records that `Regex.find`, `Regex.findAtMost` and `Regex.replace` produce carry the right `index`, `match`, `number` and `submatches`. | pass | pass | pass | pass |
| RegexNeverTest `Regex.never` matches nothing, so `Regex.contains Regex.never` is `False` on a non-empty string. | pass | pass | pass | pass |
| RegexNonAsciiTest elm/regex matches non-ASCII text by UTF-16 code units: `.` matches U+00E9 once and U+1F600 as two separate units. | pass | pass | pass | pass |
| RegexSplitTest `Regex.split` cuts a string at every match and drops the matched text. | pass | pass | pass | pass |
| RegexUtf16IndexTest `Match.index` counts UTF-16 code units, as `String.length` and `String.slice` do. | pass | pass | pass | pass |
Discussions
Discuss this project·Search the discussions on GitHub
Discussions are on GitHub; one about this project has [p:elm-regex] in its title.