|
|
|
|
|
by jknutson
219 days ago
|
|
I think they would want a more optimized regex. Like a long list of swears, merged down into one pattern separated by tunnel characters, and with all common prefixes / suffixes combined for each group. That takes more than just replacing one word. Something like the output of the list-to-tree rust crate. |
|
I'm sure an LLM can help write such a program. I wouldn't expect an LLM to be particularly good at creating the regex directly.