Updates:
        Owner: jprantan

Comment #6 on issue 347 by pekka.klarck: Option --TagStatLink does not work with tags containing capital letters
http://code.google.com/p/robotframework/issues/detail?id=347

Juha is correct, the problem is that the given pattern is normalized. This wasn't a problem earlier when also tags were always normalized. Juha's fix is also correct,
although I'd use re.IGNORECASE and would also remove the not-anymore-needed
normalizing. It's probably enough to test this change with unit tests, but updating acceptance tests so that also they find the problem might be a good idea too.

Should we also handle possible spaces? All tag matches are (or at least should be) both case and space insensitive, but it's always possible to have an extra '*' in the place of the possible space in the pattern. It ought to be possible to fix handling spaces by simple removing them from `pattern` in _get_match_regexp and from `tag` in
get_link.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to