Skip to content

Commit 26df7e5

Browse files
committed
Remove TODO
1 parent ecf7461 commit 26df7e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/pcre/php_pcre.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex)
615615
/* PCRE specific options */
616616
case 'A': coptions |= PCRE2_ANCHORED; break;
617617
case 'D': coptions |= PCRE2_DOLLAR_ENDONLY;break;
618-
/* TODO in how far it is feasible at all, study is done for every pattern in PCRE2. */
619-
case 'S': /*do_study = 1;*/ break;
618+
case 'S': /* Pass. */ break;
620619
case 'U': coptions |= PCRE2_UNGREEDY; break;
621620
case 'X': extra_coptions &= ~PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL; break;
622621
case 'u': coptions |= PCRE2_UTF;

0 commit comments

Comments
 (0)