Skip to content

Commit

Permalink
fix #300: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kkos committed Jun 8, 2024
1 parent f2f9c69 commit f8a6782
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ History
2018/03/08: allow abbreviated notation for callouts (?(*name)..|..) (?(?{...})..|..)
2018/03/02: NEW API: move onigenc_strdup() from regenc.h to oniguruma.h
2018/02/21: remove all USE_COMBINATION_EXPLOSION_CHECK
2018/02/15: fix #78: bad definition of PV_()
2018/02/15: fix #78: badly definition of PV_()
2018/02/14: add configure option --enable-posix-api (for #77)
2018/02/08: implement callouts of name
2018/02/01: implement callouts of contents
Expand Down Expand Up @@ -735,7 +735,7 @@ History
Any, Assigned, C, Cc, L, Lm, Arabic, Greek etc...
2006/09/21: [impl] add USE_UNICODE_PROPERTIES into regenc.h.
2006/09/21: [impl] remove USE_UNICODE_FULL_RANGE_CTYPE.
2006/09/20: [impl] change ONIGENC_CTYPE_XXXX to sequencial values.
2006/09/20: [impl] change ONIGENC_CTYPE_XXXX to sequential values.
add BIT_CTYPE_XXXX bit flags to regenc.h.
update XXXX_CtypeTable[] for BIT_CTYPE_ALNUM.
2006/09/19: [memo] move from CVS to Subversion (1.3.2).
Expand Down Expand Up @@ -1197,7 +1197,7 @@ History
2004/12/16: [test] success in ruby 1.9.0 (2004-12-16) [i686-linux].
2004/12/16: [dist] update hash.c.patch.
2004/12/15: [bug] (thanks matz)
char > 127 should be casted to unsigned char. (utf8.c)
char > 127 should be cast to unsigned char. (utf8.c)
2004/12/13: [impl] add HAVE_PROTOTYPES and HAVE_STDARG_PROTOTYPES definition
to oniguruma.h in the case __cplusplus.
2004/12/06: [dist] update doc/RE and doc/RE.ja.
Expand Down Expand Up @@ -1629,7 +1629,7 @@ History
should be /a(?:b{2,3}*)/
2004/02/12: [bug] (thanks Simon Strandgaard)
OP_REPEAT_INC_NG process in match_at() is wrong.
ex. bad match /a.{0,2}?a/ =~ "0aXXXa0"
ex. badly match /a.{0,2}?a/ =~ "0aXXXa0"
2004/02/12: [bug] (thanks Simon Strandgaard)
wrong fetch after (?x) option. ex. "(?x)\ta .\n+b"
2004/02/12: [bug] (thanks Simon Strandgaard)
Expand Down Expand Up @@ -1813,7 +1813,7 @@ History
2003/09/16: [bug] (thanks Guy Decoux)
remove env->option == option check in parse_effect().
change env->option for dynamic option in parse_exp().
(ex. bad match /(?i)(?-i)a/ =~ "A")
(ex. badly match /(?i)(?-i)a/ =~ "A")
2003/09/12: [spec] rename REG_SYN_ALLOW_RANGE_OP_IN_CC to
REG_SYN_ALLOW_DOUBLE_RANGE_OP_IN_CC,
REG_SYN_ESCAPE_IN_CC to REG_SYN_BACKSLASH_ESCAPE_IN_CC.
Expand Down Expand Up @@ -2157,7 +2157,7 @@ History
if it is set, then error /(\1)/, /\1(..)/ etc...
2003/02/26: [spec] if backref number is greater than max group number,
then return compile error. (REGERR_INVALID_BACKREF_NUMBER)
2003/02/26: [tune] bad implemented N_ALT case in get_min_match_length().
2003/02/26: [tune] badly implemented N_ALT case in get_min_match_length().
2003/02/26: [dist] auto update testc.c and win32/testc.c in dist target.
2003/02/26: [impl] add -win option to testconv.rb.
2003/02/25: [spec] allow to assign same name to different group.
Expand Down Expand Up @@ -2277,7 +2277,7 @@ History
2003/01/18: [impl] change REGION_NOTPOS to REG_REGION_NOTPOS in regex.h.
2003/01/17: [dist] add sample/simple.c.
2003/01/17: [inst] add configure option --with-rubydir.
2003/01/17: [bug] bad implemeted POSIX API options.
2003/01/17: [bug] badly implemented POSIX API options.
default: /./ not match "\n", anchor not match "\n"
REG_NEWLINE: /./ not match "\n", anchor match "\n"
2003/01/16: [impl] rewrite POSIX API regexec() for speed up.
Expand Down
2 changes: 1 addition & 1 deletion test/test_back.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ extern int main(int argc, char* argv[])
n("\\A(a|b\\g<1>c)\\k<1+3>\\z", "bbaccb");
x2("(?i)\\A(a|b\\g<1>c)\\k<1+2>\\z", "bBACcbac", 0, 8);
x2("(?i)(?<X>aa)|(?<X>bb)\\k<X>", "BBbb", 0, 4);
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 4, 4); // relative backref by postitive number
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 4, 4); // relative backref by positive number
x2("\\g<+2>(abc)(ABC){0}", "ABCabc", 0, 6); // relative call by positive number
x2("A\\g'0'|B()", "AAAAB", 4, 5);
x3("(A\\g'0')|B", "AAAAB", -1, -1, 1);
Expand Down
2 changes: 1 addition & 1 deletion test/test_utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ extern int main(int argc, char* argv[])
n("\\A(a|b\\g<1>c)\\k<1+3>\\z", "bbaccb");
x2("(?i)\\A(a|b\\g<1>c)\\k<1+2>\\z", "bBACcbac", 0, 8);
x2("(?i)(?<X>aa)|(?<X>bb)\\k<X>", "BBbb", 0, 4);
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 0, 4); // relative backref by postitive number
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 0, 4); // relative backref by positive number
x2("\\g<+2>(abc)(ABC){0}", "ABCabc", 0, 6); // relative call by positive number
x2("A\\g'0'|B()", "AAAAB", 0, 5);
x3("(A\\g'0')|B", "AAAAB", 0, 5, 1);
Expand Down
2 changes: 1 addition & 1 deletion test/testc.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ extern int main(int argc, char* argv[])
n("[0-9-a]", ":"); // PR#44
x3("(\\(((?:[^(]|\\g<1>)*)\\))", "(abc)(abc)", 1, 4, 2); // PR#43
x2("\\o{101}", "A", 0, 1);
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 0, 4); // relative backref by postitive number
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 0, 4); // relative backref by positive number
x2("\\g<+2>(abc)(ABC){0}", "ABCabc", 0, 6); // relative call by positive number
x2("A\\g'0'|B()", "AAAAB", 0, 5);
x3("(A\\g'0')|B", "AAAAB", 0, 5, 1);
Expand Down
2 changes: 1 addition & 1 deletion test/testp.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ extern int main(int argc, char* argv[])
n("[0-9-a]", ":"); // PR#44
x3("(\\(((?:[^(]|\\g<1>)*)\\))", "(abc)(abc)", 1, 4, 2); // PR#43
x2("\\o{101}", "A", 0, 1);
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 0, 4); // relative backref by postitive number
x2("(?:\\k'+1'B|(A)C)*", "ACAB", 0, 4); // relative backref by positive number
x2("\\g<+2>(abc)(ABC){0}", "ABCabc", 0, 6); // relative call by positive number
x2("A\\g'0'|B()", "AAAAB", 0, 5);
x3("(A\\g'0')|B", "AAAAB", 0, 5, 1);
Expand Down

0 comments on commit f8a6782

Please sign in to comment.