What does this mean in regex?
(?s:.+?)
specifically
(?s
I've seen things like non capture groups (?:regex)
, lookaheads but this is the first time I see something like this, I got it from the MarkDownExtra parser definition lists part.
I was unable to find it on http://www.regular-expressions.info/ and Google because you can't physically google question marks, so I am asking here.
Also isn't .+?
the same as .*
?