Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eurasiantiger
on July 9, 2022
|
parent
|
context
|
favorite
| on:
AutoRegex
JS has String.prototype.replaceAll, which can take a regex with multiple capture groups and output them as separate params to a callback function. This can be used to create a functional DSL which generates the regexes and callbacks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: