what does the flwg rule mean in regular expression:
>
([^#].*)
( start of capture
[^#] any (single) character that is not '#'
..* any character zero or more times, untill the next linebreak
(unless the /s modifier is used, in which case it's untill the end, or last
match of a following pattern. Check out the difference between greedy and
ungreedy)
) end of capture.
On Jan 12, 5:08 pm, "Rik" <luiheidsgoe... @hotmail.comwro te:
Gayatri wrote:
what does the flwg rule mean in regular expression:
>
([^#].*)( start of capture
[^#] any (single) character that is not '#'
.* any character zero or more times, untill the next linebreak
(unless the /s modifier is used, in which case it's untill the end, or last
match of a following pattern. Check out the difference between greedy and
ungreedy)
) end of capture.
>
Grtz,
--
Rik Wasmus
This tutorial teaches you how to create your own regular expressions, starting with the most basic regex concepts and ending with the most advanced and specialized capabilities.
On Jan 12, 4:25 am, "Gayatri" <gayatri.khor.. .@gmail.comwrot e:
thanx
>
--
Regards,
Gayatri M. Khorate.
>
On Jan 12, 5:08 pm, "Rik" <luiheidsgoe... @hotmail.comwro te:
>
Gayatri wrote:
what does the flwg rule mean in regular expression:
>
([^#].*)( start of capture
[^#] any (single) character that is not '#'
.* any character zero or more times, untill the next linebreak
(unless the /s modifier is used, in which case it's untill the end, or last
match of a following pattern. Check out the difference between greedy and
ungreedy)
) end of capture.
Comment