in reply to Re: Re: Regex (lookahead) Confusion
in thread Regex (lookahead) Confusion
if (! /([smtwhfa])(?=.*?\1)/) { | | | | | +----- followed by this character | +--------------- find any of these characters +-------------------- but take the negative of the match
|
|---|