[![Build Status](https://travis-ci.org/kkos/oniguruma.svg?branch=master)](https://travis-ci.org/kkos/oniguruma)
[![Code Quality: Cpp](https://img.shields.io/lgtm/grade/cpp/g/kkos/oniguruma.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kkos/oniguruma/context:cpp)
[![Total Alerts](https://img.shields.io/lgtm/alerts/g/kkos/oniguruma.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kkos/oniguruma/alerts)
Oniguruma
=========
https://github.com/kkos/oniguruma
Oniguruma is a modern and flexible regular expressions library. It
encompasses features from different regular expression implementations
that traditionally exist in different languages.
Character encoding can be specified per regular expression object.
Supported character encodings:
ASCII, UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE,
EUC-JP, EUC-TW, EUC-KR, EUC-CN,
Shift_JIS, Big5, GB18030, KOI8-R, CP1251,
ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5,
ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10,
ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16
* GB18030: contributed by KUBO Takehiro
* CP1251: contributed by Byte
* doc/SYNTAX.md: contributed by seanofw
Version 6.9.4
-------------
* NEW API: RegSet (set of regexes)
* Fixed CVE-2019-19012
* Fixed CVE-2019-19203 (Does not affect UTF-8, UTF-16 and UTF-32 encodings)
* Fixed CVE-2019-19204 (Affects only PosixBasic, Emacs and Grep syntaxes)
* Fixed CVE-2019-19246
* Fixed some problems (found by libFuzzer test)
Version 6.9.3 (security fix release)
------------------------------------
* Fixed CVE-2019-13224
* Fixed CVE-2019-13225
* Fixed CVE-2019-16163
* Fixed many problems (found by libFuzzer test)
Version 6.9.2 (Reiwa)
---------------------
* add doc/SYNTAX.md
* Direct threaded code (for GCC and Clang)
* Update Unicode version 12.1.0
* NEW: Unicode Text Segment mode option (?y{g}) (?y{w}) (*original)
Version 6.9.1
-------------
* Speed improvement (* especially UTF-8)
Version 6.9.0
-------------
* Update Unicode version 11.0.0
* NEW: add Emoji properties
Version 6.8.2
-------------
* Fix: #80 UChar in header causes issue
* NEW API: onig_set_callout_user_data_of_match_param() (* omission in 6.8.0)
* add doc/CALLOUTS.API and doc/CALLOUTS.API.ja
Version 6.8.1
-------------
* Update shared library version to 5.0.0 for API incompatible changes from 6.7.1
Version 6.8.0
-------------
* Retry-limit-in-match function enabled by default
* NEW: configure option --enable-posix-api=no (* enabled by default)
* NEW API: onig_search_with_param(), onig_match_with_param()
* NEW: Callouts of contents (?{...contents...}) (?{...}\[tag]\[X<>]) (?{{...}})
* NEW: Callouts of name (*name) (*name\[tag]{args...})
* NEW: Builtin callouts (*FAIL) (*MISMATCH) (*ERROR{n}) (*COUNT) (*MAX{n}) etc..
* Examples of Callouts program: [callout.c](sample/callout.c), [count.c](sample/count.c), [echo.c](sample/echo.c)
Version 6.7.1
-------------
* NEW: Mechanism of retry-limit-in-match (* disabled by default)
Version 6.7.0
-------------
* NEW: hexadecimal codepoint \uHHHH
* NEW: add ONIG_SYNTAX_ONIGURUMA (== ONIG_SYNTAX_DEFAULT)
* Disabled \N and \O on ONIG_SYNTAX_RUBY
* Reduced size of object file
Version 6.6.0
-------------
* NEW: ASCII only mode options for character type/property (?WDSP)
* NEW: Extended Grapheme Cluster boundary \y, \Y
* NEW: Extended Grapheme Cluster \X
* Range-clear (Absent-clear) operator restores previous range in retractions.
Version 6.5.0
-------------
* NEW: \K (keep)
* NEW: \R (general newline) \N (no newline)
* NEW: \O (true anychar)
* NEW: if-then-else (?(...)...\|...)
* NEW: Backreference validity checker (?(xxx)) (*original)
* NEW: Absent repeater (?~absent) \[is equal to (?\~\|(?:absent)|\O*)]
* NEW: Absent expression (?~|absent|expr) (*original)
* NEW: Absent stopper (?~|absent) (*original)
Version 6.4.0
-------------
* Fix fatal problem of endless repeat on Windows
* NEW: call zero (call the total regexp) \g<0>
* NEW: relative backref/call by positive number \k<+n>, \g<+n>
Version 6.3.0
-------------
* NEW: octal codepoint \o{.....}
* Fixed CVE-2017-9224
* Fixed CVE-2017-9225
* Fixed CVE-2017-9226
* Fixed CVE-2017-9227
* Fixed CVE-2017-9228
* Fixed CVE-2017-9229
Version 6.1.2
-------------
* allow word bound, word begin and word end in look-behind.
* NEW option: ONIG_OPTION_CHECK_VALIDITY_OF_STRING
Version 6.1
-----------
* improved doc/RE
* NEW API: onig_scan()
Version 6.0
-----------
* Update Unicode 8.0 Property/Case-folding
* NEW API: onig_unicode_define_user_property()
License
-------
BSD license.
Install
-------
### Case 1: Unix and Cygwin platform
1. autoreconf -vfi (* case: configure script is not found.)
2. ./configure
3. make
4. make install
* uninstall
make uninstall
* configuration check
onig-config --cflags
onig-config --libs
onig-config --prefix
onig-config --exec-prefix
### Case 2: Windows 64/32bit platform (Visual Studio)
Execute make_win.bat
onig_s.lib: static link library
onig.dll: dynamic link library
* test (ASCII/Shift_JIS)
1. cd src
2. copy ..\windows\testc.c .
3. nmake -f Makefile.windows ctest
(I have checked by Visual Studio Community 2015)
Regular Expressions
-------------------
See [doc/RE](doc/RE) or [doc/RE.ja](doc/RE.ja) for Japanese.
Usage
-----
Include oniguruma.h in your program. (Oniguruma API)
See doc/API for Oniguruma API.
If you want to disable UChar type (== unsigned char) definition
in oniguruma.h, define ONIG_ESCAPE_UCHAR_COLLISION and then
include oniguruma.h.
If you want to disable regex_t type definition in oniguruma.h,
define ONIG_ESCAPE_REGEX_T_COLLISION and then include oniguruma.h.
Example of the compiling/linking command line in Unix or Cygwin,
(prefix == /usr/local case)
cc sample.c -L/usr/local/lib -lonig
If you want to use static link library(onig_s.lib) in Win32,
add option -DONIG_EXTERN=extern to C compiler.
Sample Programs
---------------
|File |Description |
|:---------------------|:-----------------------------------------|
|sample/callout.c |example of callouts |
|sample/count.c |example of built-in callout *COUNT |
|sample/echo.c |example of user defined callouts of name |
|sample/encode.c |example of some encodings |
|sample/listcap.c |example of the capture history |
|sample/names.c |example of the named group callback |
|sample/posix.c |POSIX API sample |
|sample/regset.c |example of using RegSet API |
|sample/scan.c |example of using onig_scan() |
|sample/simple.c |example of the minimum (Oniguruma API) |
|sample/sql.c |example of the variable meta characters |
|sample/user_property.c|example of user defined Unicode property |
Test Programs
|File |Description |
|:------------------|:--------------------------------------|
|sample/syntax.c |Perl, Java and ASIS syntax test. |
|sample/crnl.c |--enable-crnl-as-line-terminator test |
Source Files
------------
|File |Description |
|:------------------|:-------------------------------------------------------|
|oniguruma.h |Oniguruma API header file (public) |
|onig-config.in |configuration check program template |
|regenc.h |character encodings framework header file |
|regint.h |internal definitions |
|regparse.h |internal definitions for regparse.c and regcomp.c |
|regcomp.c |compiling and optimization functions |
|regenc.c |cha
没有合适的资源?快使用搜索试试~ 我知道了~
php-7.3.20.tar.gz
需积分: 15 8 下载量 19 浏览量
2020-07-14
17:55:16
上传
评论
收藏 18.74MB GZ 举报
温馨提示
共2000个文件
phpt:16336个
c:1038个
h:795个
php-7.3.20.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
php-7.3.20.tar.gz (2000个子文件)
configure.ac 47KB
configure.ac 3KB
configure.ac 460B
Makefile.am 2KB
Makefile.am 166B
API 28KB
CALLOUTS.API 11KB
AUTHORS 460B
AUTHORS 55B
AUTHORS 32B
mkdep.awk 2KB
order_by_dep.awk 2KB
mk_eaw_tbl.awk 1KB
mk_sb_tbl.awk 1007B
data_file.c 30.68MB
sqlite3.c 7.5MB
unicode_property_data.c 616KB
parse_date.c 518KB
pcre2_jit_compile.c 378KB
pcre2_compile.c 323KB
zend_compile.c 255KB
zend_language_parser.c 251KB
sljitNativeTILEGX-encoder.c 240KB
pcre2_ucd.c 232KB
php_reflection.c 202KB
pcre2_match.c 202KB
regparse.c 198KB
pgsql.c 198KB
zend_language_scanner.c 187KB
openssl.c 181KB
array.c 178KB
basic_functions.c 170KB
php_date.c 167KB
regcomp.c 166KB
phar_object.c 163KB
exif.c 159KB
regexec.c 158KB
soap.c 157KB
string.c 153KB
php_imap.c 145KB
mbstring.c 143KB
ldap.c 141KB
zend_inference.c 135KB
pcre2_dfa_match.c 131KB
gd.c 129KB
zend_API.c 128KB
spl_iterators.c 122KB
libsodium.c 120KB
zend_func_info.c 118KB
oci8.c 117KB
interface.c 115KB
gdfontg.c 113KB
php_encoding.c 110KB
lsapilib.c 110KB
gdfontl.c 108KB
zend_execute.c 108KB
php_sdl.c 107KB
php_odbc.c 105KB
unicode_fold_data.c 104KB
phar.c 102KB
spl_directory.c 96KB
session.c 96KB
ZendAccelerator.c 93KB
unicode_property_data_posix.c 92KB
zend_strtod.c 90KB
zend_ini_scanner.c 88KB
php_pcre.c 88KB
zend_alloc.c 87KB
mysqlnd_wireprotocol.c 85KB
php_zip.c 84KB
zend_operators.c 81KB
mysqlnd_connection.c 80KB
main.c 80KB
sljitNativeX86_common.c 80KB
gdfontmb.c 79KB
sljitLir.c 79KB
sockets.c 79KB
xmlrpc.c 78KB
xp_ssl.c 78KB
sljitNativeARM_32.c 78KB
cgi_main.c 77KB
php_schema.c 77KB
zend_builtin_functions.c 76KB
iconv.c 76KB
sljitNativeTILEGX_64.c 75KB
mysqli_api.c 75KB
pdo_stmt.c 74KB
snmp.c 74KB
apprentice.c 73KB
php_cli_server.c 73KB
mysqlnd_ps.c 72KB
gd.c 72KB
sljitNativeARM_T2_32.c 71KB
gd_interpolation.c 71KB
simplexml.c 71KB
sljitNativePPC_common.c 70KB
sccp.c 69KB
gdfonts.c 69KB
oci8_interface.c 69KB
mbfilter.c 68KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
张罗丰
- 粉丝: 13
- 资源: 33
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于双向 LSTM 中文微博情感分类项目功能实现
- PHP新闻管理系统设计与实现 毕业设计
- STM32单片机FPGA毕设电路原理论文报告汽车电动助力转向单片机控制系统设计与试验研究
- STM32单片机FPGA毕设电路原理论文报告气压传感器神经网络算法及单片机实现
- 西南交大-大学物理A作业-2019-带参考答案
- c++语言大作业,校区人员管理系统framework.zip
- 多目标优化算法集合,包含使用手册
- c语言程序设计大作业 课程设计 高分大作业98分.zip
- STM32单片机FPGA毕设电路原理论文报告频率的测量在单片机设计中的应用
- 音频转码工具(用于将微信语音 amr 格式转换为 mp3 格式以便在 html5 的 audio 标签中进行播放).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功