Polish web docs example
This commit is contained in:
parent
610de3ae78
commit
2dc203ffdc
|
@ -1521,7 +1521,7 @@ segments. For example `/resources/{*path}` matches all files under `/resources/`
|
|||
`"path"` variable captures the complete relative path.
|
||||
|
||||
The syntax `{varName:regex}` declares a URI variable with a regular expression that has the
|
||||
syntax: `{varName:regex}`. For example, given a URL of `/spring-web-3.0.5 .jar`, the following method
|
||||
syntax: `{varName:regex}`. For example, given a URL of `/spring-web-3.0.5.jar`, the following method
|
||||
extracts the name, version, and file extension:
|
||||
|
||||
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
|
||||
|
|
|
@ -1618,7 +1618,7 @@ leave that detail out if the names are the same and your code is compiled with d
|
|||
information or with the `-parameters` compiler flag on Java 8.
|
||||
|
||||
The syntax `{varName:regex}` declares a URI variable with a regular expression that has
|
||||
syntax of `{varName:regex}`. For example, given URL `"/spring-web-3.0.5 .jar"`, the following method
|
||||
syntax of `{varName:regex}`. For example, given URL `"/spring-web-3.0.5.jar"`, the following method
|
||||
extracts the name, version, and file extension:
|
||||
|
||||
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
|
||||
|
|
Loading…
Reference in New Issue