on-internet
← Community

What does grep function with -P specify?

Stack Overflow ·

I'm looking at code that has the following syntax: @match = grep {/$sometext/-iP} @$myarray; I know that -i finds a match ignoring case. What does the P specify?

Comments

Sign in or sign up to comment and upvote.

No comments yet.