junichi11 commented on code in PR #6569:
URL: https://github.com/apache/netbeans/pull/6569#discussion_r1366449402


##########
php/php.editor/src/org/netbeans/modules/php/editor/model/impl/Type.java:
##########
@@ -96,6 +96,7 @@ private Type() {
     public static final String PARENT = "parent"; //NOI18N
     public static final String STATIC = "static"; //NOI18N NETBEANS-4443 PHP 
8.0
     public static final String NEVER = "never"; //NOI18N NETBEANS-5599 PHP 8.1
+    public static final String SPLIT_REGEX = "[()|&]"; // NOI18N

Review Comment:
   Add the following to the `CodeUtils`.
   ```java
       public static final Pattern WHITE_SPACES_PATTERN = 
Pattern.compile("\\s+"); // NOI18N
       public static final Pattern SPLIT_TYPES_PATTERN = 
Pattern.compile("[()|&]"); // NOI18N
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to