Add overload to allow expansion without having an exception thrown

Sometimes it is useful to call the expand(All) method without having an exception thrown if the token is not matched. This adds the capability to do this.