Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
peq
on Sept 13, 2014
|
parent
|
context
|
favorite
| on:
Regular Expressions in 100 lines of Scala
Regular expressions just need 3 things: sequence, alternatives (|), and repetition(*). Everything else is an extension.
tel
on Sept 13, 2014
[–]
And the empty versions/identities of those operations
harryjo
on Sept 13, 2014
|
parent
[–]
Right, those three things plus three times nothing. 3 + 3*0 = 3
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: