julia 1.10.10can be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example: julia> replace("first second" second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") "a1" You 0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9can be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example: julia> replace("first second" second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") "a1" You 0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4can be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationcan be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notescan be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.10.0 DEV Documentationcan be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example: julia> replace("first second" second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") "a1" You 0 码力 | 1678 页 | 5.95 MB | 1 年前3
julia 1.13.0 DEVcan be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1can be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4can be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3can be found on the learning page of the main Julia website. You can use the REPL as a learning resource by switching into the help mode. Switch to help mode by pressing ? at an empty julia> prompt, before the substitution string with s. Capture group 0 refers to the entire match object. Named capture groups can be referenced in the substitution with \g. For example:CHAPTER 8. STRINGS 66 julia> replace("first second", r"(\w+) (? \w+)" => s"\g \1") "second first" Numbered capture groups can also be referenced as \g for disambiguation, as in: julia> replace("a", r"." => s"\g<0>1") 0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













