Using TextWrangler v5.0.2

I am including '<key>BBLMScansFunctions</key>   <true/>' in my language 
definition file.

The following regular expression (used in a 'Procedure Pattern' entry in 
the definition file) works fine in find/replace - including verifying the 
'function_name' by using '\P<function_name>' as the replace expression:

(?x: 
(?<=^|\s)
(?P<function>
(?:G:)?:\s+
(?P<function_name>
\S+
)
(?s:.*?)
\s+(?:G:)?i?;(?=\s)
)
)

Unfortunately, it does not capture any procedure names in the symbols 
menu...  Here is the verbatim section of the language file:
<key>Procedure Pattern</key>
<string><![CDATA[ (?x: 
(?# (?<=^|\s) )
(?P<function>
(?:G:)?:\s+
(?P<function_name>
\S+
)
(?s:.*?)
\s+(?:G:)?i?;(?=\s)
)
)
]]></string>

Any thoughts on why this would work in find/replace, yet not show anything 
in the symbols menu?

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to