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

s/Unlike REST/Unlike HTTP


I think your regular expression needs a /g at the end, no?

Edit: This was a serious question, not sure I deserve multiple downvotes


It only needs "/". "g" finds all matches, but there is only one match in the string.


Still needs the trailing /


Only for sed/perl. Not if you are using vim (although in that case it's missing the leading `:`).




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

Search: