Web Analytics Made Easy -
StatCounter Regex - CodingForum

Announcement

Collapse
No announcement yet.

Regex

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Regex

    regex
    Code:
    "[A-Z][a-z]+ [a-z]+",".*?","[0-9]+"
    test against

    Code:
    "Thuidium delicatulum","-","5","1","2","5","-","-","-","2","-","2","-","-","17"
    "Thuidium tamariscinum","2","-","-","-","-","-","-","-","-","-","-","-","-","2"
    result
    Code:
    "Thuidium delicatulum","-","5"
    "Thuidium tamariscinum","2","-","-","-","-","-","-","-","-","-","-","-","-","2"
    First line OK.
    My expectation is that the second line does not match at all ?
    Found a flower or bug and don't know what it is ?
    agrozoo.net galery
    if you don't spot search button at once, there is search form:
    agrozoo.net galery search

  • #2
    Why do you have three different regex as a single line. Did you forget to encase your inner quotes? Much less where are you outer delimiters?

    Not sure what you're trying to match here.
    Walk the dark path, sleep with angels, call the past for help.
    https://cutcodedown.com
    https://medium.com/@deathshadow

    Comment


    • #3
      There are no outer delimiters coz they are not needed. " is part of regex.


      figured what the prob was,
      did not see "2" as ".*?"
      For some reason.
      Found a flower or bug and don't know what it is ?
      agrozoo.net galery
      if you don't spot search button at once, there is search form:
      agrozoo.net galery search

      Comment

      Working...
      X