Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
I close the issue because I posted the solution and did not wait for feedback for several weeks.
I close the issue because I posted the solution and did not wait for feedback for several weeks.
I close the issue because I posted the solution and did not wait for feedback for several weeks.
What is the status of this issue?
What is the status of this issue?
@voile
OK, now expressions like
/?invalid/
,/*invalid/
and/+invalid/
invalid and must raise error.I've changed description.
Changed to:
But there is
[0-9]{3}€
and[0-5]?[0-9]€
in the tests.€
is a Unicode character (\u20ac
).Fixed. Thanks!
Fixed. Thanks!
\\d
is[0-9]
, aka(0|1|2|3|4|5|6|7|8|9)
.When you do something like
(a|b)+
, it's matching(a|b)
1 or more times, and because(a|b)
is an alternative, it can match either at every step; think of it as(a|b)(a|b)(a|b)...
. Soaab
,a
,bbb
all matches(a|b)+
. You can verify this with any regex implementation (and is in fact how it should be understood).Loading more items...