Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Website, DB, & Software Developers

Showing Original Post only (View all)

dogknob

(2,431 posts)
Sun May 4, 2014, 10:18 AM May 2014

It's 7:18am on Sunday morning. Wanna help me with a regular expression? [View all]

I know this is a total long-shot, but if anybody here would like to help me test the monster I wrote last night, then you can do it here:

http://regexr.com/38psn

I've spent a while trying to break it with mistakes one might make while naming a file that requires a naming convention (e.g. typos)

I'm using it to rat out bad filenames before I queue them up for transcoding in ffmpeg. The files are screened for bad extensions and bad MIME-types before they hit the expression, which I can't post here because of smilies.

There's info about the naming convention and what is supposed to match/not match at the link.

Thanks!

6 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Not sure if it's critical ChromeFoundry May 2014 #1
Ooooo! dogknob May 2014 #2
EDITED: might be done with this now. dogknob May 2014 #3
Here is an alternative RegEx tester ChromeFoundry May 2014 #4
Dude! the colors! dogknob May 2014 #5
Got a bit more fat trimmed off of it. dogknob May 2014 #6
Latest Discussions»Retired Forums»Website, DB, & Software Developers»It's 7:18am on Sunday mor...»Reply #0