Refactor: Implement suggestions from PR #25

Implement suggestions from [PR #25](https://github.com/florinpop17/app-ideas/pull/25)

Resolves: N/a
See also: N/a
pull/25/head
jdmedlock 7 years ago
parent 8df5dd596f
commit 0136da1ee5

@ -3,8 +3,8 @@
**Tier:** 2-Intermediate **Tier:** 2-Intermediate
Regular Expressions should be a valuable part of any developers toolbox. They Regular Expressions should be a valuable part of any developers toolbox. They
provide a concise way to describe a pattern that can be used by JavaScripts provide a concise way to describe a pattern that can be used to test, search,
RegExp object to test, search, match, replace, or split the contents of a match, replace, or split the contents of a
string. Regular Expressions provide functionality you might otherwise have to string. Regular Expressions provide functionality you might otherwise have to
implement using loops and more lines of code. implement using loops and more lines of code.
@ -19,7 +19,8 @@ you use in your apps.
- [ ] User can click a 'Run' button to test - [ ] User can click a 'Run' button to test
- [ ] User can see a warning message if no regular expression was entered. - [ ] User can see a warning message if no regular expression was entered.
- [ ] User can see a warning message if no string was entered. - [ ] User can see a warning message if no string was entered.
- [ ] User can see a message indicating if `test()` was able to locate the pattern in the string. - [ ] User can see the matching text highlighted indicating if `test()` was able to locate the pattern in the string.
- [ ] User can see a message if none of the text was matched.
## Bonus features ## Bonus features

Loading…
Cancel
Save