Skip to content

Commit

Permalink
strip leading/trailing dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsumoto-ren committed Dec 11, 2022
1 parent 684bf9e commit 15f0277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impd
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fetch_title() {
-e 's/fansub\|vostfr\|10bits\|BluRay\|x26[45]\|AAC\|flac//gi' \
-Ee 's/[0-9]{3,4}[pP]//g' \
-Ee 's/(\[|\()[^])]*(\]|\))//g' \
-e 's/^ *//; s/ *$//' \
-e 's/^[ -]*//; s/[- ]*$//' \
-Ee 's/ +/ /g'
}
print_name() {
Expand Down

0 comments on commit 15f0277

Please sign in to comment.