Regular Expression Divisible by Three
Write a regular expression for numbers divisible by 3. No PCRE nonsense, standard regex using only ()|* Must work for arbitrary length strings TEST STRING 0 1 2 3 4 10 12 14 15 57 100 101 102 12345 You should be able to solve this.
A stern-looking anime scientist points toward a programming exercise asking for a standard regular expression that matches numbers divisible by 3, with example test strings shown on a screen. The joke is that the problem is deceptively difficult under the restriction of using only basic regex operators, despite the confident instruction that it should be easy. It is shared as a reaction to intimidating or unnecessarily challenging coding tasks. EN: A stern-looking anime scientist points toward a programming exercise asking for a standard regular expression that matches numbers divisible by 3, with example test strings shown on a screen. The joke is that the problem is deceptively difficult under the restriction of using only basic regex operators, despite the confident instruction that it should be easy. It is shared as a reaction to intimidating or unnecessarily challenging coding tasks.
- @gentoomemes / 6208 2023-09-05
- Type
- image
- Size
- 800×640 · 90.2 KiB
- Mood
- sarcastic, intimidating
- Language
- en
- Added