summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-07 10:27:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-07 10:27:49 +0200
commit1bf2ad57fdc64aa78685af6ebc568af1a41bfeb3 (patch)
tree53496935939aae98abe3f66ee6490cf192a43e9f
parent10e549ef7479b1bd08ced124164b5edcd8c1a30b (diff)
db-ris: Improve delayed / on-time info filter
-rwxr-xr-xbin/db-ris4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/db-ris b/bin/db-ris
index 99e07b0..234a912 100755
--- a/bin/db-ris
+++ b/bin/db-ris
@@ -87,9 +87,7 @@ sub display_result {
sub filter_info {
my ($info) = @_;
- if ( $info =~ m{ ^ (?: p.nktlich | k [.] A [.] ) $ }ox ) {
- return q{};
- }
+ $info =~ s{ (?: ^ | , ) (?: p.nktlich | k [.] A [.] ) }{}x;
return $info;
}