musl/src/regex/tre.h, branch master musl - an implementation of the standard library for Linux-based systems apply hidden visibility to various remaining internal interfaces 2018年09月12日T18:34:34+00:00 Rich Felker dalias@aerifal.cx 2018年09月11日T16:32:46+00:00 7e399fabd3db2c528b5982803eeba2841f547695
remove unused "params" related code from regex 2013年01月15日T00:05:29+00:00 Szabolcs Nagy nsz@port70.net 2013年01月15日T00:05:29+00:00 f05f59b804f83ff8443ba8c549d6be3ba79e71a6 some structs and functions had reference to the params feature of tre that is not used by the code anymore
some structs and functions had reference to the params
feature of tre that is not used by the code anymore
fix regex on arm 2012年05月25日T14:45:05+00:00 Rich Felker dalias@aerifal.cx 2012年05月25日T14:45:05+00:00 8b4c232efe182f4a9c8c52c5638af8fec92987bf TRE has a broken assumption that wchar_t is signed, which is a sane expectation, but not required by the standard, and false on ARM's ABI. i leave tre_char_t as wchar_t for now, since a pointer to it is directly passed to functions that need pointer to wchar_t. it does not seem to break anything. and since the maximum unicode scalar value is 0x10ffff, just use that explicitly rather than using the max value of any particular C type.
TRE has a broken assumption that wchar_t is signed, which is a sane
expectation, but not required by the standard, and false on ARM's ABI.
i leave tre_char_t as wchar_t for now, since a pointer to it is
directly passed to functions that need pointer to wchar_t. it does not
seem to break anything. and since the maximum unicode scalar value is
0x10ffff, just use that explicitly rather than using the max value of
any particular C type.
upgrade to latest upstream TRE regex code (0.8.0) 2012年03月20日T23:44:05+00:00 Rich Felker dalias@aerifal.cx 2012年03月20日T23:44:05+00:00 ad47d45e9da8df364cb0a61b6146d51c196c8891 the main practical results of this change are 1. the regex code is no longer subject to LGPL; it's now 2-clause BSD 2. most (all?) popular nonstandard regex extensions are supported I hesitate to call this a "sync" since both the old and new code are heavily modified. in one sense, the old code was "more severely" modified, in that it was actively hostile to non-strictly-conforming expressions. on the other hand, the new code has eliminated the useless translation of the entire regex string to wchar_t prior to compiling, and now only converts multibyte character literals as needed. in the future i may use this modified TRE as a basis for writing the long-planned new regex engine that will avoid multibyte-to-wide character conversion entirely by compiling multibyte bracket expressions specific to UTF-8.
the main practical results of this change are
1. the regex code is no longer subject to LGPL; it's now 2-clause BSD
2. most (all?) popular nonstandard regex extensions are supported
I hesitate to call this a "sync" since both the old and new code are
heavily modified. in one sense, the old code was "more severely"
modified, in that it was actively hostile to non-strictly-conforming
expressions. on the other hand, the new code has eliminated the
useless translation of the entire regex string to wchar_t prior to
compiling, and now only converts multibyte character literals as
needed.
in the future i may use this modified TRE as a basis for writing the
long-planned new regex engine that will avoid multibyte-to-wide
character conversion entirely by compiling multibyte bracket
expressions specific to UTF-8.
initial check-in, version 0.5.0 2011年02月12日T05:22:29+00:00 Rich Felker dalias@aerifal.cx 2011年02月12日T05:22:29+00:00 0b44a0315b47dd8eced9f3b7f31580cf14bbfc01

AltStyle によって変換されたページ (->オリジナル) /