summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-07-19 18:12:43 +0000
committerrandomdan <randomdan@localhost>2011-07-19 18:12:43 +0000
commit7aada943fc135b4e24dde6d82d0612b03e123940 (patch)
tree4fec6365bba47315fa3807825b680018db123247
parentShow descriptions for packages that occur on many sync days (diff)
downloadgentoobrowse-7aada943fc135b4e24dde6d82d0612b03e123940.tar.bz2
gentoobrowse-7aada943fc135b4e24dde6d82d0612b03e123940.tar.xz
gentoobrowse-7aada943fc135b4e24dde6d82d0612b03e123940.zip
Fix the cases when masks contain a full month name
-rw-r--r--gentoobrowse/console/packagemasks.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/console/packagemasks.xml b/gentoobrowse/console/packagemasks.xml
index 36d00b3..915e115 100644
--- a/gentoobrowse/console/packagemasks.xml
+++ b/gentoobrowse/console/packagemasks.xml
@@ -6,7 +6,7 @@
SELECT d.setno,
MIN(field[1]) AS person,
MIN(field[2]) AS email,
- CAST((REGEXP_MATCHES(MIN(field[3]), E'(\\d+ *(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) \\d+)', 'i'))[1] AS DATE) AS dateadded,
+ CAST((REGEXP_MATCHES(MIN(field[3]), E'(\\d+ *(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\\w* \\d+)', 'i'))[1] AS DATE) AS dateadded,
TRIM(STRING_AGG(REGEXP_REPLACE(content, '^#+', ''), ' ' ORDER BY m.line)) AS message
FROM (SELECT setno, line AS line, REGEXP_MATCHES(content, E'^# *(.+) +&lt; *(.+) *&gt; \\( *(.+) *\\)$') AS field
FROM file_masks_withset