Artifacts Associated With Ticket 8663689908d3304a
Ticket change [dc39e41818] (rid 146243) by jan.nijtmans on 2016-04-08 12:09:48:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% string is word \u203f 1 % regexp \\w \u203f 0 It appears that the character UNDERTIE (\u203f) is considered a word character by "string is word", but not in the regexp engine. In total, 9 characters are missing, all characters in the Unicode category Pc (Puntuation Connector)
- foundin initialized to: "8.6.5"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "43. Regexp"
- title initialized to: "regexp \\w missing characters"
- type initialized to: "Bug"
Ticket change [74635fb1cb] (rid 146244) by jan.nijtmans on 2016-04-08 12:10:14:
- assignee changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- priority changed to: "3 Low"
Ticket change [0f31e50e0d] (rid 146254) by jan.nijtmans on 2016-04-08 12:29:58:
- closedate changed to: "2457487.0208163"
- closer changed to: "jan.nijtmans"
- icomment: "Fixed in all active branches"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [10e29ceb9a] (rid 146255) by dgp on 2016-04-08 12:33:32:
- closedate changed to: "2457487.02328782"
- closer changed to: "dgp"
- icomment:
Please notify Tom Lane (user 'tgl') about this change.
- login: "dgp"
- mimetype: "text/plain"
Ticket change [18425a2c56] (rid 148232) by dgp on 2016-07-22 21:18:47:
- closer changed to: "nobody"
- icomment:
Tcl docs (re_syntax.n) say that the "CLASS-SHORTHAND ESCAPES" are defined: \w [[:alnum:]_] (note underscore) By this description, \u203f ought to match regexp {\w} only if it matches {[[:alnum:]]}. % info patch 8.6.6 % regexp {\w} \u203f 1 % regexp {[[:alnum:]]} \u203f 0 Something in this collection of facts isn't right. - login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- resolution changed to: "Remind"
- status changed to: "Open"
Ticket change [6e95fe7d69] (rid 192631) by jan.nijtmans on 2021-03-18 14:47:22:
- closedate changed to: "2459292.11623521"
- closer changed to: "jan.nijtmans"
- icomment:
> Something in this collection of facts isn't right. Indeed, in this case the documentation is not correct. In the pre-unicode world, "word" characters were [a-zA-Z0-9_]. This is indeed the alphanumeric characters and the underscore. In the Unicode world, "word" characters are the alphanumeric characters and the "CONNECTOR_PUNCTUATION" characters (Pc). That's the underscore, but also 9 more: UNDERTIE ‿ CHARACTER TIE ⁀ INVERTED UNDERTIE ⁔ PRESENTATION FORM FOR VERTICAL LOW LINE ︳ PRESENTATION FORM FOR VERTICAL WAVY LOW LINE ︴ DASHED LOW LINE ﹍ CENTRELINE LOW LINE ﹎ WAVY LOW LINE ﹏ FULLWIDTH LOW LINE _ So, the documentation should be adapted. The implementation is already doing this correctly. Done now in core-8-6-branch and up.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"