[ 
https://issues.apache.org/jira/browse/CHUKWA-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850970#action_12850970
 ] 

Hudson commented on CHUKWA-463:
-------------------------------

Integrated in Chukwa-trunk #330 (See 
[http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/])
    

> Improve pattern for getTag() method
> -----------------------------------
>
>                 Key: CHUKWA-463
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-463
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: Data Processors
>            Reporter: Guille -bisho-
>            Assignee: Ari Rabkin
>         Attachments: fixpat.patch, improve_tags_pattern-v2.diff, 
> improve_tags_pattern.diff
>
>
> 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.
> The proposed path is more correct, and also faster than using .*

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

Reply via email to