Re: [Pharo-users] case-insensitive regexp

2015-06-04 Thread Peter Uhnák
I do not think this is possible. The problem is that the Regex compiles (parses) the pattern so once it's created you would have to reparse it. Theoretically speaking you could add ignoreCase accessors to RxMatcher but it is likely it would break things; or add method to RxMatcher that would

[Pharo-users] case-insensitive regexp

2015-06-04 Thread Usman Bhatti
Hi, Some regular expression engines include support for /i flag that makes the regexp case-insensitive. In Pharo, regexp matcher can be setup to be case-insensitive (e.g. 'mypattern' asRegexIgnoringCase). But once a matcher is setup as case-senstive, can we provide a pattern to make its search

Re: [Pharo-users] case-insensitive regexp

2015-06-04 Thread Usman Bhatti
Thanks Peter. On Thu, Jun 4, 2015 at 1:51 PM, Peter Uhnák i.uh...@gmail.com wrote: I do not think this is possible. The problem is that the Regex compiles (parses) the pattern so once it's created you would have to reparse it. Theoretically speaking you could add ignoreCase accessors to