Hacker News new | past | comments | ask | show | jobs | submit login

Not so.

Something as simple as "OO\nDO" should be valid. But also "OO\nDD" and myriad other solutions.




Ah. The difference is that you're trying partial matches, as opposed to full matches from the specified patterns.

edit: and by full match (since this seems to be the source of some confusion in another subthread), I explicitly mean anchored with your \A...\Z or whatever you want to use.




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

Search: