chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guille -bisho- (JIRA)" <>
Subject [jira] Created: (CHUKWA-463) Improve pattern for getTag() method
Date Wed, 10 Mar 2010 15:57:27 GMT
Improve pattern for getTag() method

                 Key: CHUKWA-463
             Project: Hadoop Chukwa
          Issue Type: Improvement
          Components: Data Processors
            Reporter: Guille -bisho-

The current pattern used for extracting tags from the tags field:

    Pattern tagPattern = Pattern.compile(".*"+tagName+"=\"(.*?)\".*");

Doesn't work very well. If you pass tagName "bar", will also match (and return) the content
of foobar="dssad" tag.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message