summaryrefslogtreecommitdiff
path: root/intltool-update.in
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@canonical.com>2009-12-19 11:42:04 +0100
committerDanilo Šegan <danilo@canonical.com>2009-12-19 11:42:04 +0100
commit7c7fa65f9682e6e56ae9b26f73d4abfb880f740e (patch)
tree0a9232a154d5c35deb654acff437116bc01996ef /intltool-update.in
parent20e5ae7fdfbb45fa39038a3ce308136710b48400 (diff)
downloadintltool-7c7fa65f9682e6e56ae9b26f73d4abfb880f740e.tar.gz
Improve regular expression for detecting whether a file contains different gettext calls: don't detect anything that is not known to be one.
Diffstat (limited to 'intltool-update.in')
-rw-r--r--intltool-update.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/intltool-update.in b/intltool-update.in
index af8982e..7488773 100644
--- a/intltool-update.in
+++ b/intltool-update.in
@@ -501,7 +501,7 @@ sub FindLeftoutFiles
}
## C_ N_ NC_ Q_ and _ are the macros defined in gi8n.h
- if (/(NC|[CNQ]?)_ *\(QUOTEDTEXT/)
+ if (/(NC_|[NCQ]_|[^_]_|$_) *\(QUOTEDTEXT/)
{
if (defined isNotValidMissing (unpack("x3 A*", $file))) {
## Remove the first 3 chars and add newline