Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: ci

on:
push:
branches: [master, main]
pull_request:

jobs:
test:
name: ${{ matrix.compiler }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler: [gcc, clang]
env:
CC: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v7
- name: Install build prerequisites
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake libtool
- name: Build
run: |
./autogen.sh
./configure
make
- name: Test
run: make test

sanitizers:
name: ASan + UBSan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install build prerequisites
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake libtool
- name: Build with sanitizers
run: |
./autogen.sh
./configure CFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" \
LDFLAGS="-fsanitize=address,undefined"
make
- name: Test
run: make test
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

12 changes: 6 additions & 6 deletions HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ History of Oniguruma
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 @@ -1430,7 +1430,7 @@ History of Oniguruma
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 @@ -2337,7 +2337,7 @@ History of Oniguruma
2003/03/08: [impl] remove check_backref_number().
2003/03/08: [bug] called group in 0-repeat should not be eliminated from
compile code. ex. /(?*n)(?<n>){0}/ (thanks akr)
add is_refered member to QualifierNode.
add is_referred member to QualifierNode.
2003/03/07: [impl] use hash table(st.[ch]) for implementation of name table.
(enable on Ruby in default)
2003/03/07: [new] add regex_foreach_names().
Expand Down Expand Up @@ -2390,7 +2390,7 @@ History of Oniguruma
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 @@ -2485,7 +2485,7 @@ History of Oniguruma
2003/01/31: [impl] rename TTRANS() to TOLOWER().
2003/01/30: [bug] .c.o --> .c.obj in win32\Makefile.
2003/01/30: [impl] add -DNOT_RUBY to Makefile.in.
NOT_RUBY is refered in regint.h for escape double
NOT_RUBY is referred in regint.h for escape double
including config.h.
2003/01/30: [impl] when string hasn't case ambiguity, don't compile
to ignore case opcode.
Expand All @@ -2510,7 +2510,7 @@ History of Oniguruma
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
42 changes: 0 additions & 42 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion doc/API
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ Onigmo (Oniguruma-mod) API Version 6.1.2 2017/05/10

Return the root node of capture history data tree.

This value is undefined if matching has faild.
This value is undefined if matching has failed.

arguments
1 region: matching result.
Expand Down
2 changes: 1 addition & 1 deletion st.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ st_free_table(st_table *tab)
}

#ifdef RUBY
/* Return byte size of memory allocted for table TAB. */
/* Return byte size of memory allocated for table TAB. */
size_t
st_memsize(const st_table *tab)
{
Expand Down
2 changes: 1 addition & 1 deletion st.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* This is a public domain general purpose hash table package
originally written by Peter Moore @ UCB.

The hash table data strutures were redesigned and the package was
The hash table data structures were redesigned and the package was
rewritten by Vladimir Makarov <vmakarov@redhat.com>. */

#ifndef RUBY_ST_H
Expand Down
Loading