From 7e796db4002ed26ac96e8b0da4861e7c1b9aac2e Mon Sep 17 00:00:00 2001 From: randomdan Date: Tue, 9 Aug 2011 00:19:42 +0000 Subject: Slightly better regex for change logs, drops some, does much better job with others --- gentoobrowse/console/changelogs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ - (\d+ *(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\w* \d+); +([^<]+)? *<([^ >]+)[>\s]\s*(?:[^:]*:)?\s*(.*?)(?:\R\s*|$) + (\d+ *(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\w* \d+); *([^<]+)? *<([^ >]+)[>\s]\s*(?:[^:]*:)?\s*(.*?)(?:\R\*|\s*$|\R\R) date person -- cgit v1.2.3