View Single Post
Originally Posted by Handycam
Am I correct by looking at your list that fragments are all that's needed?
Yes. This is how regular expressions work. You don't need to match the whole string. If the string you state is part of the string it is compared to, it matches.

Placeholders are only needed if you have unknown "content" between two or more parts of your expressions. Say, you have a site hat uses ads in different dirs, but the ads are all gifs whose name begins with "ad". You could use "*/ad.*\.gif".

Generally, "ad" matches the same as ".*ad.*".