Skip to content

Patterns containing any of '^', '$', '<', '>' do not match #98

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Specify regex pattern containing any of '^', '$', '<', '>'

What is the expected output? What do you see instead?

Pattern "^.*$" should match every input line but matches no line.
Pattern "<build>" should match input "<build>" but matches nothing.

What version of the product are you using?

1.5.3

Please provide any additional information below.

There is no match regardless of whether the pattern is wrapped in a CDATA block 
or the '>' and '<' are written in escaped form.

OS: OSX
Java: 7 update 67
Maven: 3.2.1

Original issue reported on code.google.com by ralf.viv...@gmail.com on 12 Oct 2014 at 2:22

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions