Skip to main content
added 545 characters in body
Source Link
Tu Do
  • 6.9k
  • 23
  • 39

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*. It means, *helm help* should be excluded. I want this regexp functionality because I set display-buffer-alist to position Helm windows where I like it to be:

(add-to-list 'display-buffer-alist `("*.*helm.**"
                                    (display-buffer-in-side-window)
                                    (inhibit-same-window . t)
                                    (window-height . 0.4)))

However, doing so would prevent a Helm buffer by default displayed in fullscreen, like *helm help* buffer.

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*. It means, *helm help* should be excluded.

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*. It means, *helm help* should be excluded. I want this regexp functionality because I set display-buffer-alist to position Helm windows where I like it to be:

(add-to-list 'display-buffer-alist `("*.*helm.**"
                                    (display-buffer-in-side-window)
                                    (inhibit-same-window . t)
                                    (window-height . 0.4)))

However, doing so would prevent a Helm buffer by default displayed in fullscreen, like *helm help* buffer.

added 44 characters in body
Source Link
Tu Do
  • 6.9k
  • 23
  • 39

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*. It means, *helm help* should be excluded.

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*.

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*. It means, *helm help* should be excluded.

Source Link
Tu Do
  • 6.9k
  • 23
  • 39

Exclude a string in Emacs Regexp

Is it possible to create a regexp that excludes a string? For example, I want to create a regexp that accepts a set of strings with *.*helm.**except a few ones such as *helm help*.