6 kyu
Training JS #41: Regular Expression--"\"
754myjinxin2015
Loading description...
Fundamentals
Regular Expressions
Tutorials
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
The main point is that when u use "|" in RegExp, /n is the total count of (x) in your expression.
( ͡° ͜ʖ ͡°) (.)(.)
This comment has been hidden.
/(first)|(second)/
note that\3\2\1
in first one should change to 432, and the other one should change to 876 good luck ;-)This comment has been hidden.
\1\2\3 is not so correct ;-)
This comment has been hidden.
Thanks for your test, solve and feedback ;-)
It took me several hours to try out the solution.I still can't believe that i made it.
It's really hard,but fun.
Thanks for your kata.I learn a lot of things.
;-)
sorry, I can not login use myjinxin2015 now, so ... you know :(
This comment has been hidden.
This comment has been hidden.
;-)
This comment has been hidden.
This comment has been hidden.
Learnt a lot from this lesson, had to play around with the code a lot and now know how it works. Great job!
This comment has been hidden.