Again, depends on the string and the regex. Some regexes are very fast to match but others are very slow, it's not the size that determines this.