in reply to Improving performance
It also depends how you use the results. You do not seem to capture the result from your match. So in some circumstances I could imagine that
/[.,:; ]+/might do the job as well (like matching the bit between two words in a text, assuming no two punctuation signs or blanks in sequence). More context would be helpful to provide more support!
|
|---|