I´m looking for a way of matching strings, similar to regular expresions, but making it easy for the user.
I want the user to be able to enter a path like /user/name/* and have that path to match with any path that starts with /user/name/ like: /user/name/ /user/name/pics /user/name/comments etc. So given the second url, I need to see if it matches the first one (the one with the asterisk). Any suggestions? Are there any Mootools functions out there that may help? Thanks a lot
