rroonga 6.0.7-x86-mingw32 → 6.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/cross-compile.md +24 -23
- data/doc/text/news.md +10 -0
- data/ext/groonga/rb-grn-database.c +33 -0
- data/ext/groonga/rb-grn-id.c +19 -0
- data/ext/groonga/rb-grn-table.c +3 -1
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/rroonga-build.rb +3 -3
- data/test/test-database.rb +21 -1
- data/test/test-id.rb +16 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +133 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga/db.h +22 -0
- data/vendor/local/include/groonga/groonga/groonga.h +21 -1
- data/vendor/local/include/groonga/groonga/id.h +1 -0
- data/vendor/local/include/pcre.h +677 -0
- data/vendor/local/include/pcre_scanner.h +172 -0
- data/vendor/local/include/pcre_stringpiece.h +180 -0
- data/vendor/local/include/pcrecpp.h +710 -0
- data/vendor/local/include/pcrecpparg.h +174 -0
- data/vendor/local/include/pcreposix.h +146 -0
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +253 -23
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +12 -4
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +19 -0
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +36 -18
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +13 -10
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +41 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +41 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +41 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/libpcre.pc +13 -0
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +12 -0
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +13 -0
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +24 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +156 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_acquire.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +86 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_list.txt +23 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_copy.txt +64 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +88 -45
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +15 -14
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +28 -9
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +196 -61
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +15 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +98 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +32 -18
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +41 -34
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +15 -14
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +24 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +156 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_acquire.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +86 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_list.txt +23 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_copy.txt +64 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +88 -45
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +15 -14
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -8
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +185 -61
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +15 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +88 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +103 -103
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +201 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +33 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +15 -14
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/pcre/AUTHORS +45 -0
- data/vendor/local/share/doc/pcre/COPYING +5 -0
- data/vendor/local/share/doc/pcre/ChangeLog +6010 -0
- data/vendor/local/share/doc/pcre/LICENCE +93 -0
- data/vendor/local/share/doc/pcre/NEWS +725 -0
- data/vendor/local/share/doc/pcre/README +1002 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +772 -0
- data/vendor/local/share/doc/pcre/html/README.txt +1002 -0
- data/vendor/local/share/doc/pcre/html/index.html +185 -0
- data/vendor/local/share/doc/pcre/html/pcre-config.html +109 -0
- data/vendor/local/share/doc/pcre/html/pcre.html +224 -0
- data/vendor/local/share/doc/pcre/html/pcre16.html +384 -0
- data/vendor/local/share/doc/pcre/html/pcre32.html +382 -0
- data/vendor/local/share/doc/pcre/html/pcre_assign_jit_stack.html +76 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile2.html +115 -0
- data/vendor/local/share/doc/pcre/html/pcre_config.html +94 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_named_substring.html +65 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_substring.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_dfa_exec.html +129 -0
- data/vendor/local/share/doc/pcre/html/pcre_exec.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_study.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring_list.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_fullinfo.html +118 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_named_substring.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringnumber.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringtable_entries.html +60 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring.html +64 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring_list.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_exec.html +108 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_alloc.html +55 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_free.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_maketables.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/vendor/local/share/doc/pcre/html/pcre_refcount.html +51 -0
- data/vendor/local/share/doc/pcre/html/pcre_study.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_version.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcreapi.html +2921 -0
- data/vendor/local/share/doc/pcre/html/pcrebuild.html +534 -0
- data/vendor/local/share/doc/pcre/html/pcrecallout.html +286 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +235 -0
- data/vendor/local/share/doc/pcre/html/pcrecpp.html +368 -0
- data/vendor/local/share/doc/pcre/html/pcredemo.html +426 -0
- data/vendor/local/share/doc/pcre/html/pcregrep.html +759 -0
- data/vendor/local/share/doc/pcre/html/pcrejit.html +452 -0
- data/vendor/local/share/doc/pcre/html/pcrelimits.html +90 -0
- data/vendor/local/share/doc/pcre/html/pcrematching.html +242 -0
- data/vendor/local/share/doc/pcre/html/pcrepartial.html +509 -0
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +3273 -0
- data/vendor/local/share/doc/pcre/html/pcreperform.html +195 -0
- data/vendor/local/share/doc/pcre/html/pcreposix.html +290 -0
- data/vendor/local/share/doc/pcre/html/pcreprecompile.html +163 -0
- data/vendor/local/share/doc/pcre/html/pcresample.html +110 -0
- data/vendor/local/share/doc/pcre/html/pcrestack.html +225 -0
- data/vendor/local/share/doc/pcre/html/pcresyntax.html +561 -0
- data/vendor/local/share/doc/pcre/html/pcretest.html +1158 -0
- data/vendor/local/share/doc/pcre/html/pcreunicode.html +262 -0
- data/vendor/local/share/doc/pcre/pcre-config.txt +86 -0
- data/vendor/local/share/doc/pcre/pcre.txt +10454 -0
- data/vendor/local/share/doc/pcre/pcregrep.txt +741 -0
- data/vendor/local/share/doc/pcre/pcretest.txt +1087 -0
- data/vendor/local/share/groonga/html/admin.old/js/groonga-admin.ja.js +11 -6
- data/vendor/local/share/groonga/html/admin.old/js/groonga-admin.js +11 -6
- data/vendor/local/share/license/pcre/LICENCE +93 -0
- data/vendor/local/share/man/man1/pcre-config.1 +92 -0
- data/vendor/local/share/man/man1/pcregrep.1 +683 -0
- data/vendor/local/share/man/man1/pcretest.1 +1156 -0
- data/vendor/local/share/man/man3/pcre.3 +230 -0
- data/vendor/local/share/man/man3/pcre16.3 +371 -0
- data/vendor/local/share/man/man3/pcre16_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre16_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre16_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre16_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre16_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre16_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre16_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre16_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre16_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre16_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre16_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre16_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre16_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre16_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre32.3 +369 -0
- data/vendor/local/share/man/man3/pcre32_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre32_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre32_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre32_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre32_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre32_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre32_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre32_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre32_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre32_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre32_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre32_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre32_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre32_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_version.3 +31 -0
- data/vendor/local/share/man/man3/pcreapi.3 +2918 -0
- data/vendor/local/share/man/man3/pcrebuild.3 +550 -0
- data/vendor/local/share/man/man3/pcrecallout.3 +255 -0
- data/vendor/local/share/man/man3/pcrecompat.3 +200 -0
- data/vendor/local/share/man/man3/pcrecpp.3 +348 -0
- data/vendor/local/share/man/man3/pcredemo.3 +424 -0
- data/vendor/local/share/man/man3/pcrejit.3 +431 -0
- data/vendor/local/share/man/man3/pcrelimits.3 +71 -0
- data/vendor/local/share/man/man3/pcrematching.3 +214 -0
- data/vendor/local/share/man/man3/pcrepartial.3 +476 -0
- data/vendor/local/share/man/man3/pcrepattern.3 +3301 -0
- data/vendor/local/share/man/man3/pcreperform.3 +177 -0
- data/vendor/local/share/man/man3/pcreposix.3 +267 -0
- data/vendor/local/share/man/man3/pcreprecompile.3 +155 -0
- data/vendor/local/share/man/man3/pcresample.3 +99 -0
- data/vendor/local/share/man/man3/pcrestack.3 +215 -0
- data/vendor/local/share/man/man3/pcresyntax.3 +540 -0
- data/vendor/local/share/man/man3/pcreunicode.3 +249 -0
- metadata +255 -59
@@ -0,0 +1,195 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>pcreperform specification</title>
|
4
|
+
</head>
|
5
|
+
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
+
<h1>pcreperform man page</h1>
|
7
|
+
<p>
|
8
|
+
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
+
</p>
|
10
|
+
<p>
|
11
|
+
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
+
from the original man page. If there is any nonsense in it, please consult the
|
13
|
+
man page, in case the conversion went wrong.
|
14
|
+
<br>
|
15
|
+
<br><b>
|
16
|
+
PCRE PERFORMANCE
|
17
|
+
</b><br>
|
18
|
+
<P>
|
19
|
+
Two aspects of performance are discussed below: memory usage and processing
|
20
|
+
time. The way you express your pattern as a regular expression can affect both
|
21
|
+
of them.
|
22
|
+
</P>
|
23
|
+
<br><b>
|
24
|
+
COMPILED PATTERN MEMORY USAGE
|
25
|
+
</b><br>
|
26
|
+
<P>
|
27
|
+
Patterns are compiled by PCRE into a reasonably efficient interpretive code, so
|
28
|
+
that most simple patterns do not use much memory. However, there is one case
|
29
|
+
where the memory usage of a compiled pattern can be unexpectedly large. If a
|
30
|
+
parenthesized subpattern has a quantifier with a minimum greater than 1 and/or
|
31
|
+
a limited maximum, the whole subpattern is repeated in the compiled code. For
|
32
|
+
example, the pattern
|
33
|
+
<pre>
|
34
|
+
(abc|def){2,4}
|
35
|
+
</pre>
|
36
|
+
is compiled as if it were
|
37
|
+
<pre>
|
38
|
+
(abc|def)(abc|def)((abc|def)(abc|def)?)?
|
39
|
+
</pre>
|
40
|
+
(Technical aside: It is done this way so that backtrack points within each of
|
41
|
+
the repetitions can be independently maintained.)
|
42
|
+
</P>
|
43
|
+
<P>
|
44
|
+
For regular expressions whose quantifiers use only small numbers, this is not
|
45
|
+
usually a problem. However, if the numbers are large, and particularly if such
|
46
|
+
repetitions are nested, the memory usage can become an embarrassment. For
|
47
|
+
example, the very simple pattern
|
48
|
+
<pre>
|
49
|
+
((ab){1,1000}c){1,3}
|
50
|
+
</pre>
|
51
|
+
uses 51K bytes when compiled using the 8-bit library. When PCRE is compiled
|
52
|
+
with its default internal pointer size of two bytes, the size limit on a
|
53
|
+
compiled pattern is 64K data units, and this is reached with the above pattern
|
54
|
+
if the outer repetition is increased from 3 to 4. PCRE can be compiled to use
|
55
|
+
larger internal pointers and thus handle larger compiled patterns, but it is
|
56
|
+
better to try to rewrite your pattern to use less memory if you can.
|
57
|
+
</P>
|
58
|
+
<P>
|
59
|
+
One way of reducing the memory usage for such patterns is to make use of PCRE's
|
60
|
+
<a href="pcrepattern.html#subpatternsassubroutines">"subroutine"</a>
|
61
|
+
facility. Re-writing the above pattern as
|
62
|
+
<pre>
|
63
|
+
((ab)(?2){0,999}c)(?1){0,2}
|
64
|
+
</pre>
|
65
|
+
reduces the memory requirements to 18K, and indeed it remains under 20K even
|
66
|
+
with the outer repetition increased to 100. However, this pattern is not
|
67
|
+
exactly equivalent, because the "subroutine" calls are treated as
|
68
|
+
<a href="pcrepattern.html#atomicgroup">atomic groups</a>
|
69
|
+
into which there can be no backtracking if there is a subsequent matching
|
70
|
+
failure. Therefore, PCRE cannot do this kind of rewriting automatically.
|
71
|
+
Furthermore, there is a noticeable loss of speed when executing the modified
|
72
|
+
pattern. Nevertheless, if the atomic grouping is not a problem and the loss of
|
73
|
+
speed is acceptable, this kind of rewriting will allow you to process patterns
|
74
|
+
that PCRE cannot otherwise handle.
|
75
|
+
</P>
|
76
|
+
<br><b>
|
77
|
+
STACK USAGE AT RUN TIME
|
78
|
+
</b><br>
|
79
|
+
<P>
|
80
|
+
When <b>pcre_exec()</b> or <b>pcre[16|32]_exec()</b> is used for matching, certain
|
81
|
+
kinds of pattern can cause it to use large amounts of the process stack. In
|
82
|
+
some environments the default process stack is quite small, and if it runs out
|
83
|
+
the result is often SIGSEGV. This issue is probably the most frequently raised
|
84
|
+
problem with PCRE. Rewriting your pattern can often help. The
|
85
|
+
<a href="pcrestack.html"><b>pcrestack</b></a>
|
86
|
+
documentation discusses this issue in detail.
|
87
|
+
</P>
|
88
|
+
<br><b>
|
89
|
+
PROCESSING TIME
|
90
|
+
</b><br>
|
91
|
+
<P>
|
92
|
+
Certain items in regular expression patterns are processed more efficiently
|
93
|
+
than others. It is more efficient to use a character class like [aeiou] than a
|
94
|
+
set of single-character alternatives such as (a|e|i|o|u). In general, the
|
95
|
+
simplest construction that provides the required behaviour is usually the most
|
96
|
+
efficient. Jeffrey Friedl's book contains a lot of useful general discussion
|
97
|
+
about optimizing regular expressions for efficient performance. This document
|
98
|
+
contains a few observations about PCRE.
|
99
|
+
</P>
|
100
|
+
<P>
|
101
|
+
Using Unicode character properties (the \p, \P, and \X escapes) is slow,
|
102
|
+
because PCRE has to use a multi-stage table lookup whenever it needs a
|
103
|
+
character's property. If you can find an alternative pattern that does not use
|
104
|
+
character properties, it will probably be faster.
|
105
|
+
</P>
|
106
|
+
<P>
|
107
|
+
By default, the escape sequences \b, \d, \s, and \w, and the POSIX
|
108
|
+
character classes such as [:alpha:] do not use Unicode properties, partly for
|
109
|
+
backwards compatibility, and partly for performance reasons. However, you can
|
110
|
+
set PCRE_UCP if you want Unicode character properties to be used. This can
|
111
|
+
double the matching time for items such as \d, when matched with
|
112
|
+
a traditional matching function; the performance loss is less with
|
113
|
+
a DFA matching function, and in both cases there is not much difference for
|
114
|
+
\b.
|
115
|
+
</P>
|
116
|
+
<P>
|
117
|
+
When a pattern begins with .* not in parentheses, or in parentheses that are
|
118
|
+
not the subject of a backreference, and the PCRE_DOTALL option is set, the
|
119
|
+
pattern is implicitly anchored by PCRE, since it can match only at the start of
|
120
|
+
a subject string. However, if PCRE_DOTALL is not set, PCRE cannot make this
|
121
|
+
optimization, because the . metacharacter does not then match a newline, and if
|
122
|
+
the subject string contains newlines, the pattern may match from the character
|
123
|
+
immediately following one of them instead of from the very start. For example,
|
124
|
+
the pattern
|
125
|
+
<pre>
|
126
|
+
.*second
|
127
|
+
</pre>
|
128
|
+
matches the subject "first\nand second" (where \n stands for a newline
|
129
|
+
character), with the match starting at the seventh character. In order to do
|
130
|
+
this, PCRE has to retry the match starting after every newline in the subject.
|
131
|
+
</P>
|
132
|
+
<P>
|
133
|
+
If you are using such a pattern with subject strings that do not contain
|
134
|
+
newlines, the best performance is obtained by setting PCRE_DOTALL, or starting
|
135
|
+
the pattern with ^.* or ^.*? to indicate explicit anchoring. That saves PCRE
|
136
|
+
from having to scan along the subject looking for a newline to restart at.
|
137
|
+
</P>
|
138
|
+
<P>
|
139
|
+
Beware of patterns that contain nested indefinite repeats. These can take a
|
140
|
+
long time to run when applied to a string that does not match. Consider the
|
141
|
+
pattern fragment
|
142
|
+
<pre>
|
143
|
+
^(a+)*
|
144
|
+
</pre>
|
145
|
+
This can match "aaaa" in 16 different ways, and this number increases very
|
146
|
+
rapidly as the string gets longer. (The * repeat can match 0, 1, 2, 3, or 4
|
147
|
+
times, and for each of those cases other than 0 or 4, the + repeats can match
|
148
|
+
different numbers of times.) When the remainder of the pattern is such that the
|
149
|
+
entire match is going to fail, PCRE has in principle to try every possible
|
150
|
+
variation, and this can take an extremely long time, even for relatively short
|
151
|
+
strings.
|
152
|
+
</P>
|
153
|
+
<P>
|
154
|
+
An optimization catches some of the more simple cases such as
|
155
|
+
<pre>
|
156
|
+
(a+)*b
|
157
|
+
</pre>
|
158
|
+
where a literal character follows. Before embarking on the standard matching
|
159
|
+
procedure, PCRE checks that there is a "b" later in the subject string, and if
|
160
|
+
there is not, it fails the match immediately. However, when there is no
|
161
|
+
following literal this optimization cannot be used. You can see the difference
|
162
|
+
by comparing the behaviour of
|
163
|
+
<pre>
|
164
|
+
(a+)*\d
|
165
|
+
</pre>
|
166
|
+
with the pattern above. The former gives a failure almost instantly when
|
167
|
+
applied to a whole line of "a" characters, whereas the latter takes an
|
168
|
+
appreciable time with strings longer than about 20 characters.
|
169
|
+
</P>
|
170
|
+
<P>
|
171
|
+
In many cases, the solution to this kind of performance issue is to use an
|
172
|
+
atomic group or a possessive quantifier.
|
173
|
+
</P>
|
174
|
+
<br><b>
|
175
|
+
AUTHOR
|
176
|
+
</b><br>
|
177
|
+
<P>
|
178
|
+
Philip Hazel
|
179
|
+
<br>
|
180
|
+
University Computing Service
|
181
|
+
<br>
|
182
|
+
Cambridge CB2 3QH, England.
|
183
|
+
<br>
|
184
|
+
</P>
|
185
|
+
<br><b>
|
186
|
+
REVISION
|
187
|
+
</b><br>
|
188
|
+
<P>
|
189
|
+
Last updated: 25 August 2012
|
190
|
+
<br>
|
191
|
+
Copyright © 1997-2012 University of Cambridge.
|
192
|
+
<br>
|
193
|
+
<p>
|
194
|
+
Return to the <a href="index.html">PCRE index page</a>.
|
195
|
+
</p>
|
@@ -0,0 +1,290 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>pcreposix specification</title>
|
4
|
+
</head>
|
5
|
+
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
+
<h1>pcreposix man page</h1>
|
7
|
+
<p>
|
8
|
+
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
+
</p>
|
10
|
+
<p>
|
11
|
+
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
+
from the original man page. If there is any nonsense in it, please consult the
|
13
|
+
man page, in case the conversion went wrong.
|
14
|
+
<br>
|
15
|
+
<ul>
|
16
|
+
<li><a name="TOC1" href="#SEC1">SYNOPSIS</a>
|
17
|
+
<li><a name="TOC2" href="#SEC2">DESCRIPTION</a>
|
18
|
+
<li><a name="TOC3" href="#SEC3">COMPILING A PATTERN</a>
|
19
|
+
<li><a name="TOC4" href="#SEC4">MATCHING NEWLINE CHARACTERS</a>
|
20
|
+
<li><a name="TOC5" href="#SEC5">MATCHING A PATTERN</a>
|
21
|
+
<li><a name="TOC6" href="#SEC6">ERROR MESSAGES</a>
|
22
|
+
<li><a name="TOC7" href="#SEC7">MEMORY USAGE</a>
|
23
|
+
<li><a name="TOC8" href="#SEC8">AUTHOR</a>
|
24
|
+
<li><a name="TOC9" href="#SEC9">REVISION</a>
|
25
|
+
</ul>
|
26
|
+
<br><a name="SEC1" href="#TOC1">SYNOPSIS</a><br>
|
27
|
+
<P>
|
28
|
+
<b>#include <pcreposix.h></b>
|
29
|
+
</P>
|
30
|
+
<P>
|
31
|
+
<b>int regcomp(regex_t *<i>preg</i>, const char *<i>pattern</i>,</b>
|
32
|
+
<b> int <i>cflags</i>);</b>
|
33
|
+
<br>
|
34
|
+
<br>
|
35
|
+
<b>int regexec(regex_t *<i>preg</i>, const char *<i>string</i>,</b>
|
36
|
+
<b> size_t <i>nmatch</i>, regmatch_t <i>pmatch</i>[], int <i>eflags</i>);</b>
|
37
|
+
<b> size_t regerror(int <i>errcode</i>, const regex_t *<i>preg</i>,</b>
|
38
|
+
<b> char *<i>errbuf</i>, size_t <i>errbuf_size</i>);</b>
|
39
|
+
<br>
|
40
|
+
<br>
|
41
|
+
<b>void regfree(regex_t *<i>preg</i>);</b>
|
42
|
+
</P>
|
43
|
+
<br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br>
|
44
|
+
<P>
|
45
|
+
This set of functions provides a POSIX-style API for the PCRE regular
|
46
|
+
expression 8-bit library. See the
|
47
|
+
<a href="pcreapi.html"><b>pcreapi</b></a>
|
48
|
+
documentation for a description of PCRE's native API, which contains much
|
49
|
+
additional functionality. There is no POSIX-style wrapper for PCRE's 16-bit
|
50
|
+
and 32-bit library.
|
51
|
+
</P>
|
52
|
+
<P>
|
53
|
+
The functions described here are just wrapper functions that ultimately call
|
54
|
+
the PCRE native API. Their prototypes are defined in the <b>pcreposix.h</b>
|
55
|
+
header file, and on Unix systems the library itself is called
|
56
|
+
<b>pcreposix.a</b>, so can be accessed by adding <b>-lpcreposix</b> to the
|
57
|
+
command for linking an application that uses them. Because the POSIX functions
|
58
|
+
call the native ones, it is also necessary to add <b>-lpcre</b>.
|
59
|
+
</P>
|
60
|
+
<P>
|
61
|
+
I have implemented only those POSIX option bits that can be reasonably mapped
|
62
|
+
to PCRE native options. In addition, the option REG_EXTENDED is defined with
|
63
|
+
the value zero. This has no effect, but since programs that are written to the
|
64
|
+
POSIX interface often use it, this makes it easier to slot in PCRE as a
|
65
|
+
replacement library. Other POSIX options are not even defined.
|
66
|
+
</P>
|
67
|
+
<P>
|
68
|
+
There are also some other options that are not defined by POSIX. These have
|
69
|
+
been added at the request of users who want to make use of certain
|
70
|
+
PCRE-specific features via the POSIX calling interface.
|
71
|
+
</P>
|
72
|
+
<P>
|
73
|
+
When PCRE is called via these functions, it is only the API that is POSIX-like
|
74
|
+
in style. The syntax and semantics of the regular expressions themselves are
|
75
|
+
still those of Perl, subject to the setting of various PCRE options, as
|
76
|
+
described below. "POSIX-like in style" means that the API approximates to the
|
77
|
+
POSIX definition; it is not fully POSIX-compatible, and in multi-byte encoding
|
78
|
+
domains it is probably even less compatible.
|
79
|
+
</P>
|
80
|
+
<P>
|
81
|
+
The header for these functions is supplied as <b>pcreposix.h</b> to avoid any
|
82
|
+
potential clash with other POSIX libraries. It can, of course, be renamed or
|
83
|
+
aliased as <b>regex.h</b>, which is the "correct" name. It provides two
|
84
|
+
structure types, <i>regex_t</i> for compiled internal forms, and
|
85
|
+
<i>regmatch_t</i> for returning captured substrings. It also defines some
|
86
|
+
constants whose names start with "REG_"; these are used for setting options and
|
87
|
+
identifying error codes.
|
88
|
+
</P>
|
89
|
+
<br><a name="SEC3" href="#TOC1">COMPILING A PATTERN</a><br>
|
90
|
+
<P>
|
91
|
+
The function <b>regcomp()</b> is called to compile a pattern into an
|
92
|
+
internal form. The pattern is a C string terminated by a binary zero, and
|
93
|
+
is passed in the argument <i>pattern</i>. The <i>preg</i> argument is a pointer
|
94
|
+
to a <b>regex_t</b> structure that is used as a base for storing information
|
95
|
+
about the compiled regular expression.
|
96
|
+
</P>
|
97
|
+
<P>
|
98
|
+
The argument <i>cflags</i> is either zero, or contains one or more of the bits
|
99
|
+
defined by the following macros:
|
100
|
+
<pre>
|
101
|
+
REG_DOTALL
|
102
|
+
</pre>
|
103
|
+
The PCRE_DOTALL option is set when the regular expression is passed for
|
104
|
+
compilation to the native function. Note that REG_DOTALL is not part of the
|
105
|
+
POSIX standard.
|
106
|
+
<pre>
|
107
|
+
REG_ICASE
|
108
|
+
</pre>
|
109
|
+
The PCRE_CASELESS option is set when the regular expression is passed for
|
110
|
+
compilation to the native function.
|
111
|
+
<pre>
|
112
|
+
REG_NEWLINE
|
113
|
+
</pre>
|
114
|
+
The PCRE_MULTILINE option is set when the regular expression is passed for
|
115
|
+
compilation to the native function. Note that this does <i>not</i> mimic the
|
116
|
+
defined POSIX behaviour for REG_NEWLINE (see the following section).
|
117
|
+
<pre>
|
118
|
+
REG_NOSUB
|
119
|
+
</pre>
|
120
|
+
The PCRE_NO_AUTO_CAPTURE option is set when the regular expression is passed
|
121
|
+
for compilation to the native function. In addition, when a pattern that is
|
122
|
+
compiled with this flag is passed to <b>regexec()</b> for matching, the
|
123
|
+
<i>nmatch</i> and <i>pmatch</i> arguments are ignored, and no captured strings
|
124
|
+
are returned.
|
125
|
+
<pre>
|
126
|
+
REG_UCP
|
127
|
+
</pre>
|
128
|
+
The PCRE_UCP option is set when the regular expression is passed for
|
129
|
+
compilation to the native function. This causes PCRE to use Unicode properties
|
130
|
+
when matchine \d, \w, etc., instead of just recognizing ASCII values. Note
|
131
|
+
that REG_UTF8 is not part of the POSIX standard.
|
132
|
+
<pre>
|
133
|
+
REG_UNGREEDY
|
134
|
+
</pre>
|
135
|
+
The PCRE_UNGREEDY option is set when the regular expression is passed for
|
136
|
+
compilation to the native function. Note that REG_UNGREEDY is not part of the
|
137
|
+
POSIX standard.
|
138
|
+
<pre>
|
139
|
+
REG_UTF8
|
140
|
+
</pre>
|
141
|
+
The PCRE_UTF8 option is set when the regular expression is passed for
|
142
|
+
compilation to the native function. This causes the pattern itself and all data
|
143
|
+
strings used for matching it to be treated as UTF-8 strings. Note that REG_UTF8
|
144
|
+
is not part of the POSIX standard.
|
145
|
+
</P>
|
146
|
+
<P>
|
147
|
+
In the absence of these flags, no options are passed to the native function.
|
148
|
+
This means the the regex is compiled with PCRE default semantics. In
|
149
|
+
particular, the way it handles newline characters in the subject string is the
|
150
|
+
Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only
|
151
|
+
<i>some</i> of the effects specified for REG_NEWLINE. It does not affect the way
|
152
|
+
newlines are matched by . (they are not) or by a negative class such as [^a]
|
153
|
+
(they are).
|
154
|
+
</P>
|
155
|
+
<P>
|
156
|
+
The yield of <b>regcomp()</b> is zero on success, and non-zero otherwise. The
|
157
|
+
<i>preg</i> structure is filled in on success, and one member of the structure
|
158
|
+
is public: <i>re_nsub</i> contains the number of capturing subpatterns in
|
159
|
+
the regular expression. Various error codes are defined in the header file.
|
160
|
+
</P>
|
161
|
+
<P>
|
162
|
+
NOTE: If the yield of <b>regcomp()</b> is non-zero, you must not attempt to
|
163
|
+
use the contents of the <i>preg</i> structure. If, for example, you pass it to
|
164
|
+
<b>regexec()</b>, the result is undefined and your program is likely to crash.
|
165
|
+
</P>
|
166
|
+
<br><a name="SEC4" href="#TOC1">MATCHING NEWLINE CHARACTERS</a><br>
|
167
|
+
<P>
|
168
|
+
This area is not simple, because POSIX and Perl take different views of things.
|
169
|
+
It is not possible to get PCRE to obey POSIX semantics, but then PCRE was never
|
170
|
+
intended to be a POSIX engine. The following table lists the different
|
171
|
+
possibilities for matching newline characters in PCRE:
|
172
|
+
<pre>
|
173
|
+
Default Change with
|
174
|
+
|
175
|
+
. matches newline no PCRE_DOTALL
|
176
|
+
newline matches [^a] yes not changeable
|
177
|
+
$ matches \n at end yes PCRE_DOLLARENDONLY
|
178
|
+
$ matches \n in middle no PCRE_MULTILINE
|
179
|
+
^ matches \n in middle no PCRE_MULTILINE
|
180
|
+
</pre>
|
181
|
+
This is the equivalent table for POSIX:
|
182
|
+
<pre>
|
183
|
+
Default Change with
|
184
|
+
|
185
|
+
. matches newline yes REG_NEWLINE
|
186
|
+
newline matches [^a] yes REG_NEWLINE
|
187
|
+
$ matches \n at end no REG_NEWLINE
|
188
|
+
$ matches \n in middle no REG_NEWLINE
|
189
|
+
^ matches \n in middle no REG_NEWLINE
|
190
|
+
</pre>
|
191
|
+
PCRE's behaviour is the same as Perl's, except that there is no equivalent for
|
192
|
+
PCRE_DOLLAR_ENDONLY in Perl. In both PCRE and Perl, there is no way to stop
|
193
|
+
newline from matching [^a].
|
194
|
+
</P>
|
195
|
+
<P>
|
196
|
+
The default POSIX newline handling can be obtained by setting PCRE_DOTALL and
|
197
|
+
PCRE_DOLLAR_ENDONLY, but there is no way to make PCRE behave exactly as for the
|
198
|
+
REG_NEWLINE action.
|
199
|
+
</P>
|
200
|
+
<br><a name="SEC5" href="#TOC1">MATCHING A PATTERN</a><br>
|
201
|
+
<P>
|
202
|
+
The function <b>regexec()</b> is called to match a compiled pattern <i>preg</i>
|
203
|
+
against a given <i>string</i>, which is by default terminated by a zero byte
|
204
|
+
(but see REG_STARTEND below), subject to the options in <i>eflags</i>. These can
|
205
|
+
be:
|
206
|
+
<pre>
|
207
|
+
REG_NOTBOL
|
208
|
+
</pre>
|
209
|
+
The PCRE_NOTBOL option is set when calling the underlying PCRE matching
|
210
|
+
function.
|
211
|
+
<pre>
|
212
|
+
REG_NOTEMPTY
|
213
|
+
</pre>
|
214
|
+
The PCRE_NOTEMPTY option is set when calling the underlying PCRE matching
|
215
|
+
function. Note that REG_NOTEMPTY is not part of the POSIX standard. However,
|
216
|
+
setting this option can give more POSIX-like behaviour in some situations.
|
217
|
+
<pre>
|
218
|
+
REG_NOTEOL
|
219
|
+
</pre>
|
220
|
+
The PCRE_NOTEOL option is set when calling the underlying PCRE matching
|
221
|
+
function.
|
222
|
+
<pre>
|
223
|
+
REG_STARTEND
|
224
|
+
</pre>
|
225
|
+
The string is considered to start at <i>string</i> + <i>pmatch[0].rm_so</i> and
|
226
|
+
to have a terminating NUL located at <i>string</i> + <i>pmatch[0].rm_eo</i>
|
227
|
+
(there need not actually be a NUL at that location), regardless of the value of
|
228
|
+
<i>nmatch</i>. This is a BSD extension, compatible with but not specified by
|
229
|
+
IEEE Standard 1003.2 (POSIX.2), and should be used with caution in software
|
230
|
+
intended to be portable to other systems. Note that a non-zero <i>rm_so</i> does
|
231
|
+
not imply REG_NOTBOL; REG_STARTEND affects only the location of the string, not
|
232
|
+
how it is matched.
|
233
|
+
</P>
|
234
|
+
<P>
|
235
|
+
If the pattern was compiled with the REG_NOSUB flag, no data about any matched
|
236
|
+
strings is returned. The <i>nmatch</i> and <i>pmatch</i> arguments of
|
237
|
+
<b>regexec()</b> are ignored.
|
238
|
+
</P>
|
239
|
+
<P>
|
240
|
+
If the value of <i>nmatch</i> is zero, or if the value <i>pmatch</i> is NULL,
|
241
|
+
no data about any matched strings is returned.
|
242
|
+
</P>
|
243
|
+
<P>
|
244
|
+
Otherwise,the portion of the string that was matched, and also any captured
|
245
|
+
substrings, are returned via the <i>pmatch</i> argument, which points to an
|
246
|
+
array of <i>nmatch</i> structures of type <i>regmatch_t</i>, containing the
|
247
|
+
members <i>rm_so</i> and <i>rm_eo</i>. These contain the offset to the first
|
248
|
+
character of each substring and the offset to the first character after the end
|
249
|
+
of each substring, respectively. The 0th element of the vector relates to the
|
250
|
+
entire portion of <i>string</i> that was matched; subsequent elements relate to
|
251
|
+
the capturing subpatterns of the regular expression. Unused entries in the
|
252
|
+
array have both structure members set to -1.
|
253
|
+
</P>
|
254
|
+
<P>
|
255
|
+
A successful match yields a zero return; various error codes are defined in the
|
256
|
+
header file, of which REG_NOMATCH is the "expected" failure code.
|
257
|
+
</P>
|
258
|
+
<br><a name="SEC6" href="#TOC1">ERROR MESSAGES</a><br>
|
259
|
+
<P>
|
260
|
+
The <b>regerror()</b> function maps a non-zero errorcode from either
|
261
|
+
<b>regcomp()</b> or <b>regexec()</b> to a printable message. If <i>preg</i> is not
|
262
|
+
NULL, the error should have arisen from the use of that structure. A message
|
263
|
+
terminated by a binary zero is placed in <i>errbuf</i>. The length of the
|
264
|
+
message, including the zero, is limited to <i>errbuf_size</i>. The yield of the
|
265
|
+
function is the size of buffer needed to hold the whole message.
|
266
|
+
</P>
|
267
|
+
<br><a name="SEC7" href="#TOC1">MEMORY USAGE</a><br>
|
268
|
+
<P>
|
269
|
+
Compiling a regular expression causes memory to be allocated and associated
|
270
|
+
with the <i>preg</i> structure. The function <b>regfree()</b> frees all such
|
271
|
+
memory, after which <i>preg</i> may no longer be used as a compiled expression.
|
272
|
+
</P>
|
273
|
+
<br><a name="SEC8" href="#TOC1">AUTHOR</a><br>
|
274
|
+
<P>
|
275
|
+
Philip Hazel
|
276
|
+
<br>
|
277
|
+
University Computing Service
|
278
|
+
<br>
|
279
|
+
Cambridge CB2 3QH, England.
|
280
|
+
<br>
|
281
|
+
</P>
|
282
|
+
<br><a name="SEC9" href="#TOC1">REVISION</a><br>
|
283
|
+
<P>
|
284
|
+
Last updated: 09 January 2012
|
285
|
+
<br>
|
286
|
+
Copyright © 1997-2012 University of Cambridge.
|
287
|
+
<br>
|
288
|
+
<p>
|
289
|
+
Return to the <a href="index.html">PCRE index page</a>.
|
290
|
+
</p>
|
@@ -0,0 +1,163 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>pcreprecompile specification</title>
|
4
|
+
</head>
|
5
|
+
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
+
<h1>pcreprecompile man page</h1>
|
7
|
+
<p>
|
8
|
+
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
+
</p>
|
10
|
+
<p>
|
11
|
+
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
+
from the original man page. If there is any nonsense in it, please consult the
|
13
|
+
man page, in case the conversion went wrong.
|
14
|
+
<br>
|
15
|
+
<ul>
|
16
|
+
<li><a name="TOC1" href="#SEC1">SAVING AND RE-USING PRECOMPILED PCRE PATTERNS</a>
|
17
|
+
<li><a name="TOC2" href="#SEC2">SAVING A COMPILED PATTERN</a>
|
18
|
+
<li><a name="TOC3" href="#SEC3">RE-USING A PRECOMPILED PATTERN</a>
|
19
|
+
<li><a name="TOC4" href="#SEC4">COMPATIBILITY WITH DIFFERENT PCRE RELEASES</a>
|
20
|
+
<li><a name="TOC5" href="#SEC5">AUTHOR</a>
|
21
|
+
<li><a name="TOC6" href="#SEC6">REVISION</a>
|
22
|
+
</ul>
|
23
|
+
<br><a name="SEC1" href="#TOC1">SAVING AND RE-USING PRECOMPILED PCRE PATTERNS</a><br>
|
24
|
+
<P>
|
25
|
+
If you are running an application that uses a large number of regular
|
26
|
+
expression patterns, it may be useful to store them in a precompiled form
|
27
|
+
instead of having to compile them every time the application is run.
|
28
|
+
If you are not using any private character tables (see the
|
29
|
+
<a href="pcre_maketables.html"><b>pcre_maketables()</b></a>
|
30
|
+
documentation), this is relatively straightforward. If you are using private
|
31
|
+
tables, it is a little bit more complicated. However, if you are using the
|
32
|
+
just-in-time optimization feature, it is not possible to save and reload the
|
33
|
+
JIT data.
|
34
|
+
</P>
|
35
|
+
<P>
|
36
|
+
If you save compiled patterns to a file, you can copy them to a different host
|
37
|
+
and run them there. If the two hosts have different endianness (byte order),
|
38
|
+
you should run the <b>pcre[16|32]_pattern_to_host_byte_order()</b> function on the
|
39
|
+
new host before trying to match the pattern. The matching functions return
|
40
|
+
PCRE_ERROR_BADENDIANNESS if they detect a pattern with the wrong endianness.
|
41
|
+
</P>
|
42
|
+
<P>
|
43
|
+
Compiling regular expressions with one version of PCRE for use with a different
|
44
|
+
version is not guaranteed to work and may cause crashes, and saving and
|
45
|
+
restoring a compiled pattern loses any JIT optimization data.
|
46
|
+
</P>
|
47
|
+
<br><a name="SEC2" href="#TOC1">SAVING A COMPILED PATTERN</a><br>
|
48
|
+
<P>
|
49
|
+
The value returned by <b>pcre[16|32]_compile()</b> points to a single block of
|
50
|
+
memory that holds the compiled pattern and associated data. You can find the
|
51
|
+
length of this block in bytes by calling <b>pcre[16|32]_fullinfo()</b> with an
|
52
|
+
argument of PCRE_INFO_SIZE. You can then save the data in any appropriate
|
53
|
+
manner. Here is sample code for the 8-bit library that compiles a pattern and
|
54
|
+
writes it to a file. It assumes that the variable <i>fd</i> refers to a file
|
55
|
+
that is open for output:
|
56
|
+
<pre>
|
57
|
+
int erroroffset, rc, size;
|
58
|
+
char *error;
|
59
|
+
pcre *re;
|
60
|
+
|
61
|
+
re = pcre_compile("my pattern", 0, &error, &erroroffset, NULL);
|
62
|
+
if (re == NULL) { ... handle errors ... }
|
63
|
+
rc = pcre_fullinfo(re, NULL, PCRE_INFO_SIZE, &size);
|
64
|
+
if (rc < 0) { ... handle errors ... }
|
65
|
+
rc = fwrite(re, 1, size, fd);
|
66
|
+
if (rc != size) { ... handle errors ... }
|
67
|
+
</pre>
|
68
|
+
In this example, the bytes that comprise the compiled pattern are copied
|
69
|
+
exactly. Note that this is binary data that may contain any of the 256 possible
|
70
|
+
byte values. On systems that make a distinction between binary and non-binary
|
71
|
+
data, be sure that the file is opened for binary output.
|
72
|
+
</P>
|
73
|
+
<P>
|
74
|
+
If you want to write more than one pattern to a file, you will have to devise a
|
75
|
+
way of separating them. For binary data, preceding each pattern with its length
|
76
|
+
is probably the most straightforward approach. Another possibility is to write
|
77
|
+
out the data in hexadecimal instead of binary, one pattern to a line.
|
78
|
+
</P>
|
79
|
+
<P>
|
80
|
+
Saving compiled patterns in a file is only one possible way of storing them for
|
81
|
+
later use. They could equally well be saved in a database, or in the memory of
|
82
|
+
some daemon process that passes them via sockets to the processes that want
|
83
|
+
them.
|
84
|
+
</P>
|
85
|
+
<P>
|
86
|
+
If the pattern has been studied, it is also possible to save the normal study
|
87
|
+
data in a similar way to the compiled pattern itself. However, if the
|
88
|
+
PCRE_STUDY_JIT_COMPILE was used, the just-in-time data that is created cannot
|
89
|
+
be saved because it is too dependent on the current environment. When studying
|
90
|
+
generates additional information, <b>pcre[16|32]_study()</b> returns a pointer to a
|
91
|
+
<b>pcre[16|32]_extra</b> data block. Its format is defined in the
|
92
|
+
<a href="pcreapi.html#extradata">section on matching a pattern</a>
|
93
|
+
in the
|
94
|
+
<a href="pcreapi.html"><b>pcreapi</b></a>
|
95
|
+
documentation. The <i>study_data</i> field points to the binary study data, and
|
96
|
+
this is what you must save (not the <b>pcre[16|32]_extra</b> block itself). The
|
97
|
+
length of the study data can be obtained by calling <b>pcre[16|32]_fullinfo()</b>
|
98
|
+
with an argument of PCRE_INFO_STUDYSIZE. Remember to check that
|
99
|
+
<b>pcre[16|32]_study()</b> did return a non-NULL value before trying to save the
|
100
|
+
study data.
|
101
|
+
</P>
|
102
|
+
<br><a name="SEC3" href="#TOC1">RE-USING A PRECOMPILED PATTERN</a><br>
|
103
|
+
<P>
|
104
|
+
Re-using a precompiled pattern is straightforward. Having reloaded it into main
|
105
|
+
memory, called <b>pcre[16|32]_pattern_to_host_byte_order()</b> if necessary, you
|
106
|
+
pass its pointer to <b>pcre[16|32]_exec()</b> or <b>pcre[16|32]_dfa_exec()</b> in
|
107
|
+
the usual way.
|
108
|
+
</P>
|
109
|
+
<P>
|
110
|
+
However, if you passed a pointer to custom character tables when the pattern
|
111
|
+
was compiled (the <i>tableptr</i> argument of <b>pcre[16|32]_compile()</b>), you
|
112
|
+
must now pass a similar pointer to <b>pcre[16|32]_exec()</b> or
|
113
|
+
<b>pcre[16|32]_dfa_exec()</b>, because the value saved with the compiled pattern
|
114
|
+
will obviously be nonsense. A field in a <b>pcre[16|32]_extra()</b> block is used
|
115
|
+
to pass this data, as described in the
|
116
|
+
<a href="pcreapi.html#extradata">section on matching a pattern</a>
|
117
|
+
in the
|
118
|
+
<a href="pcreapi.html"><b>pcreapi</b></a>
|
119
|
+
documentation.
|
120
|
+
</P>
|
121
|
+
<P>
|
122
|
+
<b>Warning:</b> The tables that <b>pcre_exec()</b> and <b>pcre_dfa_exec()</b> use
|
123
|
+
must be the same as those that were used when the pattern was compiled. If this
|
124
|
+
is not the case, the behaviour is undefined.
|
125
|
+
</P>
|
126
|
+
<P>
|
127
|
+
If you did not provide custom character tables when the pattern was compiled,
|
128
|
+
the pointer in the compiled pattern is NULL, which causes the matching
|
129
|
+
functions to use PCRE's internal tables. Thus, you do not need to take any
|
130
|
+
special action at run time in this case.
|
131
|
+
</P>
|
132
|
+
<P>
|
133
|
+
If you saved study data with the compiled pattern, you need to create your own
|
134
|
+
<b>pcre[16|32]_extra</b> data block and set the <i>study_data</i> field to point
|
135
|
+
to the reloaded study data. You must also set the PCRE_EXTRA_STUDY_DATA bit in
|
136
|
+
the <i>flags</i> field to indicate that study data is present. Then pass the
|
137
|
+
<b>pcre[16|32]_extra</b> block to the matching function in the usual way. If the
|
138
|
+
pattern was studied for just-in-time optimization, that data cannot be saved,
|
139
|
+
and so is lost by a save/restore cycle.
|
140
|
+
</P>
|
141
|
+
<br><a name="SEC4" href="#TOC1">COMPATIBILITY WITH DIFFERENT PCRE RELEASES</a><br>
|
142
|
+
<P>
|
143
|
+
In general, it is safest to recompile all saved patterns when you update to a
|
144
|
+
new PCRE release, though not all updates actually require this.
|
145
|
+
</P>
|
146
|
+
<br><a name="SEC5" href="#TOC1">AUTHOR</a><br>
|
147
|
+
<P>
|
148
|
+
Philip Hazel
|
149
|
+
<br>
|
150
|
+
University Computing Service
|
151
|
+
<br>
|
152
|
+
Cambridge CB2 3QH, England.
|
153
|
+
<br>
|
154
|
+
</P>
|
155
|
+
<br><a name="SEC6" href="#TOC1">REVISION</a><br>
|
156
|
+
<P>
|
157
|
+
Last updated: 12 November 2013
|
158
|
+
<br>
|
159
|
+
Copyright © 1997-2013 University of Cambridge.
|
160
|
+
<br>
|
161
|
+
<p>
|
162
|
+
Return to the <a href="index.html">PCRE index page</a>.
|
163
|
+
</p>
|