forked from mirrors/org-mode
ob-java: Include static imports in regex
* lisp/ob-java.el (org-babel-java--imports-re): Include static imports in Java import regex. TINYCHANGE
This commit is contained in:
parent
edda21e931
commit
d700dff7ac
|
@ -87,6 +87,7 @@ like javac -verbose."
|
|||
(0+ space) ?\; line-end)
|
||||
"Regexp for the package statement.")
|
||||
(defconst org-babel-java--imports-re (rx line-start (0+ space) "import"
|
||||
(opt (1+ space) "static")
|
||||
(1+ space) (group (1+ (in alnum ?_ ?.))) ; capture the fully qualified class name
|
||||
(0+ space) ?\; line-end)
|
||||
"Regexp for import statements.")
|
||||
|
|
Loading…
Reference in New Issue