added 'unlessstartwith' and 'unlessendswith'