diff options
author | John Herrlin <jherrlin@gmail.com> | 2021-01-10 21:47:26 +0100 |
---|---|---|
committer | Ian Martins <ianxm@jhu.edu> | 2021-01-16 15:43:34 -0500 |
commit | d700dff7ac564b797632c8b9b6120a6c8e8fecda (patch) | |
tree | e26fa6a733338ff5787fff2454f771a681c364f0 | |
parent | edda21e9312be2af5566286bcd9042fbbec56725 (diff) | |
download | org-mode-d700dff7ac564b797632c8b9b6120a6c8e8fecda.tar.gz |
ob-java: Include static imports in regex
* lisp/ob-java.el (org-babel-java--imports-re): Include static imports
in Java import regex.
TINYCHANGE
-rw-r--r-- | lisp/ob-java.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ob-java.el b/lisp/ob-java.el index f70a501..c9698bd 100644 --- a/lisp/ob-java.el +++ b/lisp/ob-java.el @@ -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.") |