MCPcopy
hub / github.com/ajaxorg/ace / stringRegexPart

Function stringRegexPart

lib/ace/mode/php/php.js:195–198  ·  view source on GitHub ↗
(quote)

Source from the content-addressed store, hash-verified

193 : /[^<]*(?:<(?!\?=|\?php[ \t\r\n]|script language\=('|")?php('|")?\>)[^<]*)*/i,
194 labelRegexPart = '[a-zA-Z_\\x7f-\\uffff][a-zA-Z0-9_\\x7f-\\uffff]*',
195 stringRegexPart = function (quote) {
196 // Matches non-interpolated portion of interpolated string
197 return '[^' + quote + '\\\\${]*(?:(?:\\\\[\\s\\S]|\\$(?!\\{|[a-zA-Z_\\x7f-\\uffff])|\\{(?!\\$))[^' + quote + '\\\\${]*)*';
198 },
199
200 sharedStringTokens = [
201 {

Callers 1

php.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…