Y
Hacker News
new
|
ask
|
show
|
jobs
by
bazoom42
423 days ago
How would you know if a regex is correct if you dont understand it?
1 comments
poisonborz
423 days ago
You have test strings covering all cases and they match accordingly? The same way you'd know when writing manually.
link
bazoom42
423 days ago
Covering all cases? How would that be possible? Even if we only consider ASCII strings, there are 16.000 possible two-character strings, 2 million possible three-character strings and so on.
link