You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[scripts] Use correct compile-time regex syntax in split_scp.pl (#3287)
Regular expressions should be written with // to allow the language to do compile-time checks for the regexp pattern. This is from `perldoc perlop`: If the right argument is an expression rather than a search pattern, substitution, or transliteration, it is interpreted as a search pattern at run time. Note that this means that its contents will be interpolated twice, so '\\' =~ q'\\'; is not ok, as the regex engine will end up trying to compile the pattern "\", which it will consider a syntax error.
0 commit comments