-
assigned issue to
Wrong regex in okf-xml-resx
Issue #559
resolved
From Christof: (See https://groups.yahoo.com/neo/groups/okapitools/conversations/messages/5162)
I noticed today that the okf-xml-resx filter has a wrong regex
The original filter contains the lines:
<okp:codeFinder useCodeFinder="yes">#v1
count.i=1
rule0=(?<!\\)\{[^}]+?\}
</okp:codeFinder>
But that regex has a wrong starting bracket and not matching bracket pair. It should be something like:
<okp:codeFinder useCodeFinder="yes">#v1
count.i=2
rule0=<(/?)\w[^<]*?>
rule1=(#\w+?\#)|(%\d+?%)
</okp:codeFinder>
The later code actually helps finding html inline codes.
Comments (2)
-
reporter -
reporter - changed status to resolved
Fixed the code-finder expression for mustache codes, and added support for basic HTML, in the RESX pre-defined configuration. This resolves issue
#559.→ <<cset fb2556f7d7ac>>
- Log in to comment