-
I am trying to use the filter my app but getting syntax errors. Its not liking passing a regex pattern of any kind. Its only working with a string replace.
This works
{{ model.photos[1].caption | …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …
-
Here is some example code that breaks the syntax highlighting:
``` javascript
var str = "This is a \"quote\" test";
str.replace(/["]/g, '');
// Example function
function foo() {
console.log("foo");…
-
```
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting
What is the expected output? What do you see instead?
The entire block /[/]/ …