Falcon v0.2.0 Documentation
Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template) pattern = re.sub(expression_pattern, r'(?P<\1>[^/]+)', escaped) pattern = r'\A'0 码力 | 188 页 | 358.44 KB | 1 年前3Falcon v1.0.0 Documentation
Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template) pattern = re.sub(expression_pattern, r'(?P<\1>[^/]+)', escaped) pattern = r'\A'0 码力 | 249 页 | 406.22 KB | 1 年前3Tornado 6.0 Documentation
xhtml_unescape(value: Union[str, bytes]) -> str: """Un-escapes an XML-escaped string.""" return re.sub(r"&(#?)(\w+?);", _convert_entity, _unicode(value)) # The fact that json_encode wraps json.dumps str) -> str: """Replace all sequences of whitespace chars with a single space.""" return re.sub(r"[\x00-\x20]+", " ", value).strip() [docs]def url_escape(value: Union[str, bytes], plus: bool = == "single": text = re.sub(r"([\t ]+)", " ", text) text = re.sub(r"(\s*\n\s*)", "\n", text) return text elif mode == "oneline": return re.sub(r"(\s+)", " ", text) else:0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
xhtml_unescape(value: Union[str, bytes]) -> str: """Un-escapes an XML-escaped string.""" return re.sub(r"&(#?)(\w+?);", _convert_entity, _unicode(value)) # The fact that json_encode wraps json.dumps str) -> str: """Replace all sequences of whitespace chars with a single space.""" return re.sub(r"[\x00-\x20]+", " ", value).strip() [docs]def url_escape(value: Union[str, bytes], plus: bool = == "single": text = re.sub(r"([\t ]+)", " ", text) text = re.sub(r"(\s*\n\s*)", "\n", text) return text elif mode == "oneline": return re.sub(r"(\s+)", " ", text) else:0 码力 | 931 页 | 708.03 KB | 1 年前3KiCad PCB Editor 5.1
for draw in pcb.GetDrawings(): if draw.GetClass() == 'PTEXT': txt = re.sub("\$date\$ [0-9] {4}-[0-9]{2}-[0-9]{2}", "$date$", draw.GetText())0 码力 | 279 页 | 3.02 MB | 1 年前3Falcon v1.0.0 Documentation
Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template) pattern = re.sub(expression_pattern, r'(?P<\1>[^/]+)', escaped) pattern = r'\A'0 码力 | 312 页 | 368.58 KB | 1 年前3KiCad PCB 编辑器 5.1
for draw in pcb.GetDrawings(): if draw.GetClass() == 'PTEXT': txt = re.sub("\$date\$ [0-9] {4}-[0-9]{2}-[0-9]{2}", "$date$", draw.GetText())0 码力 | 304 页 | 3.02 MB | 1 年前3Falcon v3.0.0-b1 Documentation
to # trick the parser into doing the right thing. escaped_segment = re.sub(r'[\.\(\)\[\]\?\$\*\+\^\|]', r'\\\g<0>', raw_segment) pattern_text = _FIELD_PATTERN Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template) pattern = re.sub(expression_pattern, r'(?P<\1>[^/]+)', escaped) pattern = r'\A'0 码力 | 1028 页 | 725.86 KB | 1 年前3Falcon v3.0.0 Documentation
to # trick the parser into doing the right thing. escaped_segment = re.sub(r'[\.\(\)\[\]\?\$\*\+\^\|]', r'\\\g<0>', raw_segment) pattern_text = _FIELD_PATTERN Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template) pattern = re.sub(expression_pattern, r'(?P<\1>[^/]+)', escaped) pattern = r'\A'0 码力 | 1055 页 | 739.30 KB | 1 年前3Falcon v3.0.1 Documentation
to # trick the parser into doing the right thing. escaped_segment = re.sub(r'[\.\(\)\[\]\?\$\*\+\^\|]', r'\\\g<0>', raw_segment) pattern_text = _FIELD_PATTERN Level 1 var patterns to equivalent named regex groups escaped = re.sub(r'[\.\(\)\[\]\?\*\+\^\|]', r'\\\g<0>', template) pattern = re.sub(expression_pattern, r'(?P<\1>[^/]+)', escaped) pattern = r'\A'0 码力 | 1058 页 | 741.59 KB | 1 年前3
共 14 条
- 1
- 2