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

You don't need the \ (because it's in single quotes), and as mentioned by clarry all regex implementations are slightly different.

   grep '"[^"]*"' test.txt
should be about the same, and not reliant on less-standard features.


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

Search: