Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
MrBuddyCasino
10 months ago
|
parent
|
context
|
favorite
| on:
Needle: A DFA Based Regex Library That Compiles to...
Kotlin isn't too bad, you can avoid double-quoting and use .toRegex() on strings:
val regex = """([\w\s]+) is (\d+) years old""".toRegex()
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: