This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new line and tab as replacement in case of regex search
- Loading branch information
Showing
13 changed files
with
244 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
test/spec/FindReplace-known-goods/replace-escaped-chars/bar.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
\r\n\t.txt file | ||
|
||
This file should *not* show up in certain searches |
13 changes: 13 additions & 0 deletions
13
test/spec/FindReplace-known-goods/replace-escaped-chars/css/foo.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* foo.css */ | ||
body { | ||
margin: 0; | ||
} | ||
h1, footer { | ||
padding: 2px auto; | ||
} | ||
ul.foo { | ||
list-style: none; | ||
} | ||
.\r\n\t { | ||
font-size: large; | ||
} |
22 changes: 22 additions & 0 deletions
22
test/spec/FindReplace-known-goods/replace-escaped-chars/foo.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Foo</title> | ||
<link rel="stylesheet" href="css/foo.css"> | ||
<script src="foo.js"></script> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Foo</h1> | ||
<p>Intro to foo</p> | ||
<ul class="foo"> | ||
<li>foo</li> | ||
<li>\r\n\t</li> | ||
<li>baz</li> | ||
</ul> | ||
<p class="\r\n\t">It's all about the \r\n\t</p> | ||
|
||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
test/spec/FindReplace-known-goods/replace-escaped-chars/foo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* Test comment */ | ||
define(function (require, exports, module) { | ||
var Foo = require("modules/Foo"), | ||
\r\n\t = require("modules/\r\n\t"), | ||
Baz = require("modules/Baz"); | ||
|
||
function callFoo() { | ||
|
||
foo(); | ||
|
||
} | ||
|
||
} |
3 changes: 3 additions & 0 deletions
3
test/spec/FindReplace-known-goods/replace-unescaped-chars/bar.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bar.txt file | ||
|
||
This file should *not* show up in certain searches |
13 changes: 13 additions & 0 deletions
13
test/spec/FindReplace-known-goods/replace-unescaped-chars/css/foo.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* foo.css */ | ||
body { | ||
margin: 0; | ||
} | ||
h1, footer { | ||
padding: 2px auto; | ||
} | ||
ul.foo { | ||
list-style: none; | ||
} | ||
.bar { | ||
font-size: large; | ||
} |
22 changes: 22 additions & 0 deletions
22
test/spec/FindReplace-known-goods/replace-unescaped-chars/foo.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Foo</title> | ||
<link rel="stylesheet" href="css/foo.css"> | ||
<script src="foo.js"></script> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Foo</h1> | ||
<p>Intro to foo</p> | ||
<ul class="foo"> | ||
<li>foo</li> | ||
<li>bar</li> | ||
<li>baz</li> | ||
</ul> | ||
<p class="bar">It's all about the bar</p> | ||
|
||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
test/spec/FindReplace-known-goods/replace-unescaped-chars/foo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* Test comment */ | ||
define(function (require, exports, module) { | ||
var Foo = require("modules/Foo"), | ||
Bar = require("modules/Bar"), | ||
Baz = require("modules/Baz"); | ||
|
||
function callFoo() { | ||
|
||
foo(); | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters