Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's called a "raw string" rather than "regexp string", though that is the common use for it.


The other common use is Windows paths since traditionally backslashes are used as the delimiter. (Obviously hardcoded paths in code aren't generally a great idea, but that's another story.)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: