xref: /PHP-5.4/ext/mbstring/oniguruma/doc/FAQ (revision 7aab46a2)
1FAQ    2006/10/30
2
31. Lognest match
4
5   You can execute longest match by using ONIG_OPTION_FIND_LONGEST option
6   in onig_new().
7
8
92. Thread safe
10
11   In order to make thread safe, which of (A) or (B) must be done.
12
13   (A) Oniguruma Layer
14
15       Define the macro below at NOT_RUBY case in oniguruma/regint.h.
16
17       USE_MULTI_THREAD_SYSTEM
18       THREAD_ATOMIC_START
19       THREAD_ATOMIC_END
20       THREAD_PASS
21
22       THREAD_SYSTEM_INIT
23       THREAD_SYSTEM_END
24
25
26   (B) Application Layer
27
28       The plural threads should not do simultaneously that making
29       new regexp objects or re-compiling objects or freeing objects,
30       even if these objects are differ.
31
32
333. Mailing list
34
35   There is no mailing list about Oniguruma.
36
37// END
38