- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestEscapeSet (0.19 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/RegExpPatternStepTest.java
testPatternEscape("\\\\\\[\\]\\^\\-\\&\\.\\{\\}\\(\\)\\$\\+\\|\\<\\=\\!", "\\[]^-&.{}()$+|<=!"); testPatternEscape("\\$\\&time", "$&time"); } @Test public void testEscapeSet() { String testChars = "`~!@#$%^&*()-_=+[]{}\\|;:'\"<>,/"; RegExpPatternStep step = new RegExpPatternStep(testChars, true); assertTrue(step.matches(testChars)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.3K bytes - Viewed (0) -
src/html/template/escape_test.go
continue } if w, g := test.output, b.String(); w != g { t.Errorf("%s: escaped output: want\n\t%q\ngot\n\t%q", test.desc, w, g) continue } } } func TestEscapeSet(t *testing.T) { type dataItem struct { Children []*dataItem X string } data := dataItem{ Children: []*dataItem{ {X: "foo"}, {X: "<bar>"}, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 16 03:29:27 UTC 2023 - 56.2K bytes - Viewed (0)