mirror of
https://codeberg.org/scip/note.git
synced 2025-12-16 20:21:04 +01:00
fixed invalid regexp
This commit is contained in:
6
bin/note
6
bin/note
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# note - console notes management with database and encryption support.
|
||||
# Copyright (C) 1999-2015 T.v.Dein (see README for details!)
|
||||
# Copyright (C) 1999-2016 T.v.Dein (see README for details!)
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
@@ -144,7 +144,7 @@ $CONF = File::Spec->catfile($ENV{HOME}, ".noterc");
|
||||
$USER = getlogin || getpwuid($<);
|
||||
chomp $USER;
|
||||
$TOPIC = 1;
|
||||
$version = "1.3.22";
|
||||
$version = "1.3.23";
|
||||
$CurDepth = 1; # the current depth inside the topic "directory" structure...
|
||||
$maxlen = "auto";
|
||||
$timelen = 22;
|
||||
@@ -1416,7 +1416,7 @@ sub format {
|
||||
else {
|
||||
$note =~ s/\*\*([^\*]{2,})\*\*/$BN$1$_BN/g;
|
||||
$note =~ s/__([^_]{2,})__/$UN$1$_UN/g;
|
||||
$note =~ s/{{([^}]{2,})}}/$IN$1$_IN/g;
|
||||
$note =~ s/\{\{([^}]{2,})\}\}/$IN$1$_IN/g;
|
||||
$note =~ s#//([^/]{2,})//#<hide>$1</hide>#g;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user