(str)
| 3353 | match: function(pattern, consume, caseInsensitive) { |
| 3354 | if (typeof pattern == "string") { |
| 3355 | var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;}; |
| 3356 | if (cased(this.string).indexOf(cased(pattern), this.pos) == this.pos) { |
| 3357 | if (consume !== false) this.pos += pattern.length; |
| 3358 | return true; |