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

    >     $ someCommandChain | perl -pe 's/because sed regex sucks/'
    >
    > Maybe I could spend some time learning a new regex dialect
Maybe you should first learn the Perl regex dialect (the above regex doesn't parse in Perl).


If it wasn't obvious I just intended to write something informative in there, and couldn't come up with a clever substitution expression that would fit the sentence.




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

Search: