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

Historical reasons. The capturing syntax came first, and when syntax for non-capturing groups was wanted, an otherwise illegal character sequence (? was chosen.


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

Search: