aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-03-10 08:53:34 -0500
committerRalph Amissah <ralph@amissah.com>2011-03-10 08:53:34 -0500
commitcbcf26cd1fcb5dd3f839a8b5de8caf441d957b5f (patch)
treee80d784c6c656993ca1af7a30aa20130f0d7a5cc
parentv2, v3: dal_substitutions_and_insertions: sisu header matching in codeblock, fix (diff)
v2, v3: dal_doc_str: fix, looks like typo in regex
-rw-r--r--data/doc/sisu/CHANGELOG_v22
-rw-r--r--data/doc/sisu/CHANGELOG_v32
-rw-r--r--lib/sisu/v2/dal_doc_str.rb2
-rw-r--r--lib/sisu/v3/dal_doc_str.rb2
4 files changed, 6 insertions, 2 deletions
diff --git a/data/doc/sisu/CHANGELOG_v2 b/data/doc/sisu/CHANGELOG_v2
index a5928f1f..56452604 100644
--- a/data/doc/sisu/CHANGELOG_v2
+++ b/data/doc/sisu/CHANGELOG_v2
@@ -37,6 +37,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.8.2.orig.tar.gz
* dal_substitutions_and_insertions: regex for sisu header matching (in sisu
markup code blocks), a fix
+ * dal_doc_str: fix, looks like typo in regex
+
* texpdf: url (regex) pattern match fix (/https?/)
%% 2.8.1.orig.tar.gz (2011-03-05:09/6)
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index 933e3585..5327e85e 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -38,6 +38,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.3.orig.tar.gz
* dal_substitutions_and_insertions: regex for sisu header matching (in sisu
markup code blocks), a fix
+ * dal_doc_str: fix, looks like typo in regex
+
* texpdf: url (regex) pattern match fix (/https?/)
%% 3.0.2.orig.tar.gz (2011-03-05:09/6)
diff --git a/lib/sisu/v2/dal_doc_str.rb b/lib/sisu/v2/dal_doc_str.rb
index bca3cf7d..56bf205f 100644
--- a/lib/sisu/v2/dal_doc_str.rb
+++ b/lib/sisu/v2/dal_doc_str.rb
@@ -330,7 +330,7 @@ module SiSU_document_structure_extract
sub_array=t_o.dup + "#{Mx[:br_nl]}"
@line_mode=sub_array.scan(/.+/)
@line_mode=[]
- sub_array.scan(/.+/) {|w| @line_mode << w if w =~/[\Ss]+/}
+ sub_array.scan(/.+/) {|w| @line_mode << w if w =~/[\S]+/}
t_o=SiSU_document_structure_extract::Build.new(@md,@line_mode).build_lines('code').join
@tuned_code << t_o
t_o=nil
diff --git a/lib/sisu/v3/dal_doc_str.rb b/lib/sisu/v3/dal_doc_str.rb
index 365973eb..6ce77057 100644
--- a/lib/sisu/v3/dal_doc_str.rb
+++ b/lib/sisu/v3/dal_doc_str.rb
@@ -335,7 +335,7 @@ module SiSU_document_structure_extract
sub_array=t_o.dup + "#{Mx[:br_nl]}"
@line_mode=sub_array.scan(/.+/)
@line_mode=[]
- sub_array.scan(/.+/) {|w| @line_mode << w if w =~/[\Ss]+/}
+ sub_array.scan(/.+/) {|w| @line_mode << w if w =~/[\S]+/}
t_o=SiSU_document_structure_extract::Build.new(@md,@line_mode).build_lines('code').join
@tuned_code << t_o
t_o=nil