Bug#431418: jed-extra: Make structured_text.sl more UTF-8 save
Jörg Sommer
joerg at alea.gnuu.de
Mon Jul 2 12:37:53 UTC 2007
Package: jed-extra
Version: 2.3.2-4
Severity: normal
Hi Günter,
can you please apply this patch to structured_text.sl? Otherwise it
doesn't match [·•].
#v+
--- /tmp/st.sl 2007-07-02 14:32:58.906960753 +0200
+++ /usr/share/jed/jed-extra/structured_text.sl 2007-07-02 14:31:38.000000000 +0200
@@ -49,7 +49,7 @@
foreach (Text_List_Patterns)
{
re = ();
- if (1 != string_match(line, re, 1))
+ if (1 > string_match(line, re, 1))
continue;
(,len) = string_match_nth(0);
}
#v-
BTW: Why don't you use re_looking_at()?
Jörg.
-- System Information:
Debian Release: unstable/experimental
APT prefers unstable
APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.22-rc6
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages jed-extra depends on:
ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy
Versions of packages jed-extra recommends:
ii jed 1:0.99.19~pre95-2 editor for programmers (textmode v
ii xjed 1:0.99.19~pre95-2 editor for programmers (x11 versio
-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20070702/f590600a/attachment.pgp
More information about the Pkg-jed-devel
mailing list