summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-05-01 16:56:39 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-05-01 16:56:39 +0200
commitbc4137aded8bae8baa2adbe6b806585974a7f739 (patch)
treee60c5f9324beb06ae1361fd9e511805d9614473f /bin
parentdac47c3ac8b865c7dfd66b0f1929200408f7eda7 (diff)
efa: Added note about no-break space in a regular expression
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/efa b/bin/efa
index ca54b18..03563f1 100755
--- a/bin/efa
+++ b/bin/efa
@@ -81,6 +81,7 @@ sub prepare_content($) {
my $html = shift;
my $offer = 0;
my $return;
+ # beware of the no-break space (U+00A0) ↓ ↓
foreach (split(/<span class="labelTextBold"> \d+\. Fahrt<\/span>/, $html)) {
unless ($offer) {
$offer++;