You are viewing a single comment's thread. Return to all comments →
just put a whitespace after your regex to catch this tricky case. Also don't forget to add extra whitespace in your input
1 savour savoury 2 savour savoury
the output should be
1 1
not
2 1
Seems like cookies are disabled on this browser, please enable them to open this website
UK and US: Part 2
You are viewing a single comment's thread. Return to all comments →
just put a whitespace after your regex to catch this tricky case. Also don't forget to add extra whitespace in your input
the output should be
not