mirror of
https://github.com/kingToolbox/WindTerm.git
synced 2026-10-14 21:26:17 -08:00
Add iterator to search gap buffer and wildcard matching, whole word matching.
This commit is contained in:
1 parent
432b7676da
commit
855a3e54d3
58 files changed
+2656
-643
No files matched your search
@@ -46,6 +46,22 @@ OnigSyntaxType OnigSyntaxASIS = {
|
||||
}
|
||||
};
|
||||
|
||||
OnigSyntaxType OnigSyntaxWildChar = {
|
||||
ONIG_SYN_OP_VARIABLE_META_CHARACTERS
|
||||
, 0
|
||||
, 0
|
||||
, ONIG_OPTION_SINGLELINE
|
||||
,
|
||||
{
|
||||
(OnigCodePoint )'\\' /* esc */
|
||||
, (OnigCodePoint )'?' /* anychar '.' */
|
||||
, (OnigCodePoint )ONIG_INEFFECTIVE_META_CHAR /* anytime '*' */
|
||||
, (OnigCodePoint )ONIG_INEFFECTIVE_META_CHAR /* zero or one time '?' */
|
||||
, (OnigCodePoint )ONIG_INEFFECTIVE_META_CHAR /* one or more time '+' */
|
||||
, (OnigCodePoint )'*' /* anychar anytime */
|
||||
}
|
||||
};
|
||||
|
||||
OnigSyntaxType OnigSyntaxPosixBasic = {
|
||||
( SYN_POSIX_COMMON_OP | ONIG_SYN_OP_ESC_LPAREN_SUBEXP |
|
||||
ONIG_SYN_OP_ESC_BRACE_INTERVAL )
|
||||
|
||||
Reference in new issue
Block a user