query in regular expression

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gayatri

    #1

    query in regular expression

    what does the flwg rule mean in regular expression:

    ([^#].*)

    --
    Regards,
    Gayatri M. Khorate.

  • Rik

    #2
    Re: query in regular expression

    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


    Comment

    • Gayatri

      #3
      Re: query in regular expression


      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.
      >
      Grtz,
      --
      Rik Wasmus

      Comment

      • Curtis

        #4
        Re: query in regular expression

        Here's an interesting tutorial from regular-expressions.inf o

        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.
        >
        Grtz,
        --
        Rik Wasmus

        Comment

        Working...