summaryrefslogtreecommitdiff
path: root/include/ruby/onigmo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/onigmo.h')
-rw-r--r--include/ruby/onigmo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/onigmo.h b/include/ruby/onigmo.h
index 34b8268d59..6187b37dc3 100644
--- a/include/ruby/onigmo.h
+++ b/include/ruby/onigmo.h
@@ -434,7 +434,7 @@ int onigenc_str_bytelen_null(OnigEncoding enc, const OnigUChar* p);
/* PART: regular expression */
/* config parameters */
-#define ONIG_NREGION 10
+#define ONIG_NREGION 4
#define ONIG_MAX_CAPTURE_GROUP_NUM 32767
#define ONIG_MAX_BACKREF_NUM 1000
#define ONIG_MAX_REPEAT_NUM 100000