Skip to content

Commit db2eae9

Browse files
authored
Apply suggestion from @eendebakpt
1 parent 0741652 commit db2eae9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

Modules/_sre/sre_lib.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,6 @@ SRE(count)(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount)
229229
ptr++;
230230
break;
231231

232-
case SRE_OP_IN_LOC_IGNORE:
233-
/* repeated set, case-insensitive (locale) */
234-
TRACE(("|%p|%p|COUNT IN_LOC_IGNORE\n", pattern, ptr));
235-
while (ptr < end && SRE(charset_loc_ignore)(state, pattern + 2, *ptr))
236-
ptr++;
237-
break;
238-
239232
case SRE_OP_ANY:
240233
/* repeated dot wildcard. */
241234
TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr));

0 commit comments

Comments
 (0)