changeset 12468:46b3883d800c

fixed typo in PCRE style RE
author Carlo de Falco <kingcrimson@tiscali.it>
date Mon, 21 Feb 2011 17:12:25 +0100
parents 2f83974d5a6d
children 0ee8d7d60c82
files scripts/ChangeLog scripts/pkg/get_forge_pkg.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Feb 22 19:52:55 2011 +0100
+++ b/scripts/ChangeLog	Mon Feb 21 17:12:25 2011 +0100
@@ -2,6 +2,10 @@
 
 	* signal/fftshift.m: Fix broken function.  Bug 32442.
 
+2010-02-21  Carlo de Falco  <kingcrimson@tiscali.it>
+
+	* pkg/get_forge_pkg.m: Fix typo in new PCRE style regular expression.
+
 2010-02-19  Rik  <octave@nomad.inbox5.com>
 
 	* io/dlmwrite.m, pkg/get_forge_pkg.m, plot/__gnuplot_ginput__.m,
--- a/scripts/pkg/get_forge_pkg.m	Tue Feb 22 19:52:55 2011 +0100
+++ b/scripts/pkg/get_forge_pkg.m	Mon Feb 21 17:12:25 2011 +0100
@@ -43,7 +43,7 @@
     ## Remove blanks for simpler matching.
     html(isspace(html)) = [];
     ## Good. Let's grep for the version.
-    pat = "<tdclass=""package_table"">PackageVersion:</td><td>([\d.]*)</td>";
+    pat = "<tdclass=""package_table"">PackageVersion:</td><td>([\\d.]*)</td>";
     t = regexp (html, pat, "tokens");
     if (isempty (t) || isempty(t{1}))
       error ("get_forge_pkg: could not read version number from package's page");