A regular expression (regex or regexp for short) is a special text string for describing a search pattern.
Regular expression tasks in Codility check for candidates' ability to write these text strings to search for particular patterns. These tasks are shorter compared to other task types, requiring no more than a few lines of code. Regular expression tasks are perfect to use in conjunction with other coding questions from the task library.
- How they're scored: Regular expression tasks are be automatically graded using Python's re.search. Correctness is verified by at least 8 test case groups.
- What they're good for: Regular expression skills are core to every front-end and back-end developer. These tasks show how well candidates can write search patterns in their code.
We're constantly improving our skills assessment suite, so if you have feedback or comments, please send them to email@example.com.