Skip to content
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

Class RegEx not detecting new custom interfaces #464

Open
Power-Maverick opened this issue Nov 9, 2022 · 0 comments
Open

Class RegEx not detecting new custom interfaces #464

Power-Maverick opened this issue Nov 9, 2022 · 0 comments

Comments

@Power-Maverick
Copy link

We have created custom interfaces that implements IPlugin through PluginBase. We are implementing these interfaces on the plugins. My current config looks like this:

{
  "plugins": [
    {
      "profile": "default,debug",
      "assemblypath": "bin\\Debug",
      "solution": "MyCustomAssemblies",
      "classRegex": "(public( sealed)? class ([\\w]*) : ((ICreate)|(IUpdate)|(PluginBase)|(IPlugin)))"
    }
  ]
}

Our class definition is as follows:

public class PostOperation : ICreate

Can you help us identify the right way to create the RegEx?

I used regex101.com to create this one which shows a match.
image

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

No branches or pull requests

1 participant