mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-12 10:40:07 +00:00
* lisp/ob-tangle.el (org-babel-detangle): Handle false positive matches of `org-link-bracket-re'. * testing/examples/babel.el: New file for Babel detangle false positive test. * testing/examples/babel.org (detangle): Add detangle/false positive example. * testing/lisp/test-ob-tangle.el (ob-tangle/detangle-false-positive): Add test for detangle false positive.
6 lines
164 B
EmacsLisp
6 lines
164 B
EmacsLisp
(string-match-p "^#[[:digit:]]+$" "#123")
|
|
|
|
;; [[id:73115FB0-6565-442B-BB95-50195A499EF4][detangle:1]]
|
|
;; detangle changes
|
|
;; linked content to detangle:1 ends here
|