Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsWordChar (0.08 sec)

  1. src/regexp/exec.go

    		op &^= syntax.EmptyEndLine
    	}
    	if op&syntax.EmptyEndText != 0 {
    		if r2 >= 0 {
    			return false
    		}
    		op &^= syntax.EmptyEndText
    	}
    	if op == 0 {
    		return true
    	}
    	if syntax.IsWordChar(r1) != syntax.IsWordChar(r2) {
    		op &^= syntax.EmptyWordBoundary
    	} else {
    		op &^= syntax.EmptyNoWordBoundary
    	}
    	return op == 0
    }
    
    // match runs the machine over the input starting at pos.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
Back to top