Skip to content

Add CodeLenses for BPLs, DTLs, KPIs and Rules #1303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

isc-bsaviano
Copy link
Contributor

const methodPattern = /(?:^(ClassMethod|Query)\s)([^(]+)\((.*)/i;
const xdataPattern = /^XData\s([^[{\s]+)/i;
const superPattern = new RegExp(
`^\\s*Class\\s+${className.replace(/\./g, "\\.")}\\s+Extends\\s+(?:(?:\\(([^)]+)\\))|(?:([^\\s]+)))`,

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This does not escape backslash characters in the input.
isc-rsingh
isc-rsingh previously approved these changes Jan 22, 2024
@isc-bsaviano isc-bsaviano merged commit a432e02 into intersystems-community:master Jan 24, 2024
@isc-bsaviano isc-bsaviano deleted the new-file-codelens branch January 24, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants