emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Async evaluation in ob-shell


From: Max Nikulin
Subject: Re: [PATCH] Async evaluation in ob-shell
Date: Fri, 10 Mar 2023 08:52:35 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 10/03/2023 00:36, Matt wrote:
(concat "^" (regexp-quote org-babel-sh-prompt) " *") -> "^org_babel_sh_prompt>  
*"

Currently, the two combine via the concat to give*two*  spaces in the regexp.

"*" means zero or more, so " *" with two spaces acts like " +" one or more space characters. It is unsafe to append just "*" or "+" to another regexp since you can not ensure what is the trailing pattern of the preceding regexp.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]