From 622f62b43e14cbe8e417efc04c1d9210ee8cd893 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 10 Jul 2010 19:43:37 +0200 Subject: Strip non-(danish-)chars from keyword in localmarkdown2sms. --- localmarkdown2sms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localmarkdown2sms') diff --git a/localmarkdown2sms b/localmarkdown2sms index 662a20c..fd0a453 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -82,7 +82,7 @@ if ($stripprefix) { } # strip non-word chars from keyword (and use only first chunk of word chars) -$key =~ s/.*?(\w+).*?/$1/; +$key =~ s/.*?([a-zæøåÆØÅ!@\/][a-zæøåÆØÅ0-9-]+).*?/$1/; if ($debug) { Log::Log4perl->easy_init($DEBUG); -- cgit v1.2.3 y>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/5c/06/20200804105855.4F1D3C15F3@illusion.pseudorandom.co.uk
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/5c/06/20200804105855.4F1D3C15F3@illusion.pseudorandom.co.uk')
-rw-r--r--tags/5c/06/20200804105855.4F1D3C15F3@illusion.pseudorandom.co.uk/debian0
-rw-r--r--tags/5c/06/20200804105855.4F1D3C15F3@illusion.pseudorandom.co.uk/unread0
2 files changed, 0 insertions, 0 deletions