in reply to Re: Searching for a specific pattern.
in thread Searching for a specific pattern.

I can't use that, using XML::XPATH, I need to use regular expression for this.
  • Comment on Re^2: Searching for a specific pattern.

Replies are listed 'Best First'.
Re^3: Searching for a specific pattern.
by ikegami (Patriarch) on Jun 18, 2010 at 19:50 UTC

    I don't see the relation between XPaths and regular expressions, but /^LX\z/ checks for exactly "LX".

    ( An XPath that checks the value of an attribute would look like /foo/bar[@type="LX"] )