diff options
author | randomdan <randomdan@localhost> | 2011-08-09 00:19:42 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-08-09 00:19:42 +0000 |
commit | 7e796db4002ed26ac96e8b0da4861e7c1b9aac2e (patch) | |
tree | e7e9de1e70d445c80f52a05384a5fcc2b2ff252c | |
parent | Download new bug statuses (diff) | |
download | gentoobrowse-7e796db4002ed26ac96e8b0da4861e7c1b9aac2e.tar.bz2 gentoobrowse-7e796db4002ed26ac96e8b0da4861e7c1b9aac2e.tar.xz gentoobrowse-7e796db4002ed26ac96e8b0da4861e7c1b9aac2e.zip |
Slightly better regex for change logs, drops some, does much better job with others
-rw-r--r-- | gentoobrowse/console/changelogs.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/console/changelogs.xml b/gentoobrowse/console/changelogs.xml index 51781c5..e0bba34 100644 --- a/gentoobrowse/console/changelogs.xml +++ b/gentoobrowse/console/changelogs.xml @@ -19,7 +19,7 @@ </project2:filerows> <project2:regexrows name="logentries"> <sourceText source="parent" name="text" depth="1" /> - <regex>(\d+ *(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\w* \d+); +([^<]+)? *<([^ >]+)[>\s]\s*(?:[^:]*:)?\s*(.*?)(?:\R\s*|$)</regex> + <regex>(\d+ *(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\w* \d+); *([^<]+)? *<([^ >]+)[>\s]\s*(?:[^:]*:)?\s*(.*?)(?:\R\*|\s*$|\R\R)</regex> <columns> <column>date</column> <column>person</column> |