diff options
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c index 2b334ea116..5d78fd6327 100644 --- a/universal.c +++ b/universal.c @@ -980,7 +980,7 @@ XS(XS_re_regexp_pattern) /* It ain't a regexp folks */ if ( gimme == G_ARRAY ) { /* return the empty list */ - XSRETURN_UNDEF; + XSRETURN_EMPTY; } else { /* Because of the (?:..) wrapping involved in a stringified pattern it is impossible to get a |