Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for xaxbxcx (0.09 sec)

  1. src/regexp/all_test.go

    }
    
    var replaceTests = []ReplaceTest{
    	// Test empty input and/or replacement, with pattern that matches the empty string.
    	{"", "", "", ""},
    	{"", "x", "", "x"},
    	{"", "", "abc", "abc"},
    	{"", "x", "abc", "xaxbxcx"},
    
    	// Test empty input and/or replacement, with pattern that does not match the empty string.
    	{"b", "", "", ""},
    	{"b", "x", "", ""},
    	{"b", "", "abc", "ac"},
    	{"b", "x", "abc", "axc"},
    	{"y", "", "", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    	{"", "ab", -1},
    	{"bc", "ab", -1},
    	{"ab", "ab", 0},
    	{"xab", "ab", 1},
    	{"xab"[:2], "ab", -1},
    	{"", "abc", -1},
    	{"xbc", "abc", -1},
    	{"abc", "abc", 0},
    	{"xabc", "abc", 1},
    	{"xabc"[:3], "abc", -1},
    	{"xabxc", "abc", -1},
    	{"", "abcd", -1},
    	{"xbcd", "abcd", -1},
    	{"abcd", "abcd", 0},
    	{"xabcd", "abcd", 1},
    	{"xyabcd"[:5], "abcd", -1},
    	{"xbcqq", "abcqq", -1},
    	{"abcqq", "abcqq", 0},
    	{"xabcqq", "abcqq", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top