diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-09-06 22:19:08 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-09-06 22:19:08 +0200 |
commit | e0d58900e5bf7e6a00bac2ce959dca8a0ef28b50 (patch) | |
tree | 609c61fb6b872add535d847baa93f842783b0aad /sample/listcap.c | |
parent | e0f1617f7156d55df8d1372e694e611265270c81 (diff) | |
download | oniguruma-e0d58900e5bf7e6a00bac2ce959dca8a0ef28b50.zip oniguruma-e0d58900e5bf7e6a00bac2ce959dca8a0ef28b50.tar.gz oniguruma-e0d58900e5bf7e6a00bac2ce959dca8a0ef28b50.tar.bz2 |
Trim trailing whitespaces
Diffstat (limited to 'sample/listcap.c')
-rw-r--r-- | sample/listcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/listcap.c b/sample/listcap.c index 6f9880c..8598d6a 100644 --- a/sample/listcap.c +++ b/sample/listcap.c @@ -98,7 +98,7 @@ extern int main(int argc, char* argv[]) /* enable capture hostory */ onig_copy_syntax(&syn, ONIG_SYNTAX_DEFAULT); - onig_set_syntax_op2(&syn, + onig_set_syntax_op2(&syn, onig_get_syntax_op2(&syn) | ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY); r = ex(str1, pattern1, &syn); |