Retired
Positive & Negative Regex (retired)
18lion999
Description:
Your task is pretty easy: to write a regular expression that matches
pot
support
Sparta
slap two
respite
deepest
stop-item
a spector
but doesn't match
pt
Pot
pilates
pilot
parachute
spaghetti
tap
Of course, you don't want to hard-code the given examples, because such a solution would not pass the final anti-hard-code-random-value test that uses the same regex pattern you have to find.
Hint: http://rubular.com/r/J2mE8vdhjb will be of great assistance in constructing your regular expression.
Fundamentals
Regular Expressions
Declarative Programming
Advanced Language Features
Programming Paradigms
Strings
Similar Kata:
Stats:
Created | Mar 3, 2018 |
Warriors Trained | 176 |
Total Skips | 58 |
Total Code Submissions | 205 |
Total Times Completed | 18 |
Java Completions | 18 |
Total Stars | 0 |
% of votes with a positive feedback rating | 38% of 12 |
Total "Very Satisfied" Votes | 3 |
Total "Somewhat Satisfied" Votes | 3 |
Total "Not Satisfied" Votes | 6 |
Total Rank Assessments | 10 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |