Thank you!  That was what I needed.  To close the loop for future 
searchers, the error ("quantifier does not follow a repeatable item (error 
112109)") was because I had the (?x: quantifier around the whole expression 
(telling PCRE to ignore inline comments and "most whitespace"), but was 
attempting to match an arbitrary amount of spaces with (?: *).  The fix was 
to backslash-escape any spaces in my pattern that I really meant to be 
there.

Thank you, Rich!  You (and BBEdit) rock.

On Friday, January 1, 2021 at 9:42:16 AM UTC-7 [email protected] wrote:

> On 1 Jan 2021, at 11:19, Joe Strout wrote:
>
> > I have a codeless language module
> > (https://github.com/JoeStrout/miniscript-bbedit-lang-mod) which does a 
> > fine
> > job of syntax coloring. Now I want to add a function pattern, so it 
> > can
> > identify functions and support the function pop-up. Following the 
> > example
> > in the docs, I've developed a RegEx which correctly selects functions 
> > when
> > I run it on its own. However, when I add it to the language module, 
> > my
> > language no longer appears in BBEdit as a language option at all. I 
> > have
> > searched the Console for errors, but can't find any there.
>
> Choose "Logs" from the "Folder" submenu of the main application menu. 
> There may be a "Language Module Errors.log" in the folder that opens in 
> the Finder. If so it should describe what prevented the module from 
> loading.
>
> R.
>
> -- 
> Rich Siegel Bare Bones Software, Inc.
> <[email protected]> <https://www.barebones.com/>
>
> Someday I'll look back on all this and laugh... until they sedate me.
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/c1898d19-eff9-400b-be87-cb21e9fe5226n%40googlegroups.com.

Reply via email to