Browse Source

Updated example conf w/ more sane regexes xd (tfw babbys first regex lmao)

Wazakindjes 3 years ago
parent
commit
65c4ef0244
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hurr.conf.example

+ 2 - 2
hurr.conf.example

@@ -22,7 +22,7 @@ urlbase = http://drops.urmom.com
 scrotdir = ~/Desktop
 
 # Use this pattern (yay regex), it's case omsensativ by default
-scrotpattern = Screen ?Shot(?: \d+-\d+-\d+ at \d+\.\d+\.\d+ )?.*\.(png|jpe?g|gif)
+scrotpattern = ^\s*Screen\s*Shot(?:\s*\d+-\d+-\d+\s*(at\s*)?\d+\.\d+\.\d+ )?.*\.(png|jpe?g|gif)$
 
 # Strip EXIF tags (also rotates that shit if necessary)
 fuckexif = 1
@@ -72,4 +72,4 @@ scrotpattern_alt = scrotpattern
 ### Omit entirely or leave either directive empty to disable
 #[dropbox]
 #scrotdir_db = ~/Dropbox/Camera Uploads
-#scrotpattern_db = (Screenshot_)?\d+[-_]*\d+[-_]*\d+[-_\s]*\d+[-_\.]*\d+[-_\.]*\d+\.(png|jpe?g|gif)
+#scrotpattern_db = .+\.(png|jpe?g|gif)