[*.*] is displayed as [bold .] and needs to be escaped

execution(* com.xyz.service.*.*(..))  ->  execution(* com.xyz.service.\*.*(..))

Closes gh-24108
This commit is contained in:
Wang Xuesong 2019-12-03 02:14:18 +08:00 committed by Sam Brannen
parent fcbc437825
commit d1ab81587c
1 changed files with 2 additions and 2 deletions

View File

@ -739,14 +739,14 @@ The following examples show some common pointcut expressions:
+
[literal,subs="verbatim,quotes"]
----
execution(* com.xyz.service.*.*(..))
execution(* com.xyz.service.\*.*(..))
----
* The execution of any method defined in the service package or one of its sub-packages:
+
[literal,subs="verbatim,quotes"]
----
execution(* com.xyz.service..*.*(..))
execution(* com.xyz.service..\*.*(..))
----
* Any join point (method execution only in Spring AOP) within the service package: