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

fwiw I pretty frequently use `first.?name` - the odds of it matching something like "FirstSname" are low enough that it's not an issue, and it finds all cases and all common separators in one shot.

(`first\S?name` is usually better, by ignoring whitespace -> better ignores comments describing a thing, but `.` is easier to remember and type so I usually just do that)



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

Search: