Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1ed4f64e
Commit
1ed4f64e
authored
Mar 02, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
templating(): minor update to regex escape chars, #2918
parent
4872f6d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/features/templating/templateSrv.js
+1
-1
public/sass/utils/_validation.scss
+1
-1
No files found.
public/app/features/templating/templateSrv.js
View file @
1ed4f64e
...
...
@@ -35,7 +35,7 @@ function (angular, _) {
};
function
regexEscape
(
value
)
{
return
value
.
replace
(
/
[
-[
\]
{}()*+!<=:?.
\/\\
^$|#
\s
,
]
/g
,
'
\\
$&'
);
return
value
.
replace
(
/
[
\\
^$*+?.()|[
\]
{}
]
/g
,
'
\\
$&'
);
}
function
luceneEscape
(
value
)
{
...
...
public/sass/utils/_validation.scss
View file @
1ed4f64e
...
...
@@ -2,6 +2,6 @@ input[type=text].ng-dirty.ng-invalid {
box-shadow
:
inset
0
0px
7px
$red
;
}
form
input
.ng-invalid
{
input
.ng-dirty
.ng-invalid
{
color
:
$errorText
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment