Discussion:
Regex \xhh problem
zetah
2012-09-26 12:46:15 UTC
Permalink
Considering: http://www.scintilla.org/SciTERegEx.html

I can't see why this doesn't work:

<Loading Image...>
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/b97gGvGvzwMJ.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Philippe Lhoste
2012-09-26 13:05:49 UTC
Permalink
Post by zetah
Considering: http://www.scintilla.org/SciTERegEx.html
<https://lh3.googleusercontent.com/-C6L--q2xx-4/UGL43VMXtaI/AAAAAAAAAGw/iQrBZzeiFsw/s1600/Clipbrd1.png>
Looks like a signed char issue, as it works for \x01, for example.
If you activate (also) the \r\n option (transform escapes), it will work...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
zetah
2012-09-26 13:33:42 UTC
Permalink
Post by Philippe Lhoste
If you activate (also) the \r\n option (transform escapes), it will work...
Seems so. Backslash expressions handle this while regex not
Thanks for the tip
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/x8wRK1fLqTkJ.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Neil Hodgson
2012-09-26 23:53:22 UTC
Permalink
Post by Philippe Lhoste
Looks like a signed char issue, as it works for \x01, for example.
If you activate (also) the \r\n option (transform escapes), it will work…
Looks like it needs an <unsigned char> cast for the ci.CharAt expression inside the CHR case in RESearch::Execute to match the type of 'c'.

Neil
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Neil Hodgson
2012-10-04 06:09:06 UTC
Permalink
Post by Neil Hodgson
Looks like it needs an <unsigned char> cast for the ci.CharAt expression inside the CHR case in RESearch::Execute to match the type of 'c'.
Committed fix.

Neil
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Loading...