Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Selecting css properties AND curly brackets from CSS file in Komodo Edit Re: Selecting css properties AND curly brackets from CSS file in Komodo Edit

#120259
__
Participant

not quite:

`{` opening curly bracket

`[…]` defines a *character class* (a *group* of characters to match against)

`^` inside a character class, this means *not*

`}` closing curly bracket
(therefore, `^}` means *anything **except** a closing curly bracket*)

`*` means zero or more of the previous

`}` closing curly bracket.

Therefore, you’re searching for an opening curly bracket, followed by zero or more characters that *are not* closing brackets (i.e., the block contents), followed by a closing curly bracket.