Re: [Pharo-dev] Regular expression to match URIs

2016-07-30 Thread stepharo
thanks We should add that as an example in the package :) Stef Le 29/7/16 à 16:13, Casimiro - GMAIL a écrit : If someone is in need to parse URIs, then the following regex handle it: | regStr regex | regStr := '((([a-z]\w+\:)', "Match URL protocol and

[Pharo-dev] Regular expression to match URIs

2016-07-29 Thread Casimiro - GMAIL
If someone is in need to parse URIs, then the following regex handle it: | regStr regex | regStr := '((([a-z]\w+\:)', "Match URL protocol and colon" '(/|//|///|[A-Za-z0-9%]))', "Match 1-3 slashes or single letter or digit or %"