Skip to content

Commit fb768fa

Browse files
committed
update runner.sh
Signed-off-by: YunLiu <[email protected]>
1 parent 2db8c62 commit fb768fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ base_path="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
422422
cd "${base_path}"
423423

424424
function replace_text {
425-
oldString="${s}\s*=\s*[0-9]\+"
425+
oldString="${s}\s*=\s*[0-9]\+\(\.[0-9]\+\)\?\(e[+-]\?[0-9]\+\)\?"
426426
newString="${s} = 1"
427427

428428
before=$(echo "$notebook" | grep "$oldString")

0 commit comments

Comments
 (0)