Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use regular expressions to exclude or include certain types, methods, or fields?

0
Posted

Can I use regular expressions to exclude or include certain types, methods, or fields?

0

Yes, you can use regular expressions to exclude or include certain types, methods, and fields. You can do this using the GUI by adding rule nodes in the rule editing view located on the right pane of the exclude or include tabs on any of the configuration editors. For example, if you want to create a regular expression that matches methods beginning with “Test”… • Click the Add Type button. This creates a custom type rule in the rule editing view located on the right pane. • Below the rule editing view, enter regular expression .* in the Name field the and check the Regular Expression checkbox. Having the Regular Expression checkbox checked tells Dotfuscator to interpret the Name field as a regular expression. This rule will select all types. • Right click on the type rule in the rule editing view and select Add Method. This adds a custom method rule in the rule editing view as a child of the parent rule type we had created earlier. • Enter in the Name field the regular expression Te

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.