Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeRegexp (0.15 sec)

  1. src/regexp/syntax/regexp.go

    		}
    		if must != 0 {
    			// Conflicts found; need to finish final span.
    			addSpan(re.Sub[start], re.Sub[last], must, flags)
    		}
    		return 0, allCant
    	}
    }
    
    // writeRegexp writes the Perl syntax for the regular expression re to b.
    func writeRegexp(b *strings.Builder, re *Regexp, f printFlags, flags map[*Regexp]printFlags) {
    	f |= flags[re]
    	if f&flagPrec != 0 && f&^(flagOff|flagPrec) != 0 && f&flagOff != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top