Commit 45f2601c authored by Fred Drake's avatar Fred Drake

get_chapter_id(): Separate two aspects of string replacement to allow the

	need for each to vary independently.
parent f54556ef
......@@ -883,7 +883,8 @@ require SynopsisTable;
sub get_chapter_id(){
my $id = do_cmd_thechapter('');
$id =~ s/<SPAN CLASS="arabic">(\d+)<\/SPAN>\./\1/;
$id =~ s/<SPAN CLASS="arabic">(\d+)<\/SPAN>/\1/;
$id =~ s/\.//;
return $id;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment