projects
/
m17n
/
m17n-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d746636
)
Escape '(' and ')' in regexp.
author
handa
<handa>
Fri, 11 May 2007 04:47:14 +0000
(
04:47
+0000)
committer
handa
<handa>
Fri, 11 May 2007 04:47:14 +0000
(
04:47
+0000)
LANGNAME.awk
patch
|
blob
|
history
diff --git
a/LANGNAME.awk
b/LANGNAME.awk
index
aa31641
..
5f5e5fd
100644
(file)
--- a/
LANGNAME.awk
+++ b/
LANGNAME.awk
@@
-110,7
+110,7
@@
BEGIN {
gsub(", autres langues$", "", name);
gsub(", autres$", "", name);
gsub(", langues$", "", name);
- gsub(", langues (famille)$", "", name);
+ gsub(", langues \\(famille\\)$", "", name);
if (name ~ /\(.*[0-9].*\)$/)
gsub(" \\([^)]*\\)$", "", name);
if (name ~ ", ") {