I've got a port of Vasilli's version in github.com/Cuis-Ports I've been using that pretty extensively for years without issues
On Fri, 18 Nov 2016 10:39:52 -0300
Edgar De Cleene <[hidden email]> wrote:
> I wish remove tags from HTMlL
> According to https://regex101.com/ and http://www.freeformatter.com/regex-tester.html and also of my old Nissus Pro.
> Should be a valid expression.
> regex := RxMatcher forString: '<.+?>’.
> Gives my an error.
> Any help ?
Sorry for the delay. Busy lives..
I found https://github.com/garduino/Cuis-Smalltalk-RegEx but this code is very old and simply loaded fails most test cases (see notes below).
The Cuis-Smalltalk-RegEx code definitely signals an error for the example you site, even though
RegEx-Core RxParser DOCUMENTATION c:syntax:
description would appear to support this use case.
What source of RegEx are you using? Is there a Cuis Package available?
Note that I have zero experience with this package but am happy to help out as I get time.
1) Needs requirements (tests should require core should require Squeak compatibility).
2) Line endings should be newLines.
3) Needs added compatibility methods, e.g.:
^ self includes: other
"Case independent compare"
(self class) = (otherChar class) ifFalse: [ ^ false ].
^(self asLowercase) = (otherChar asLowercase)
Cuis mailing list