If s (ignoring outer whitespace) consists of a single {{ expression }} placeholder with no nested braces, returns the trimmed inner expression in O(n) time; otherwise null.
s
{{ expression }}
O(n)
null
If
s(ignoring outer whitespace) consists of a single{{ expression }}placeholder with no nested braces, returns the trimmed inner expression inO(n)time; otherwisenull.