spdx / Spdx-Java-Library

Java library which implements the Java object model for SPDX and provides useful helper functions
Apache License 2.0
32 stars 33 forks source link

How to normalize the text for regex matching in src/main/java/org/spdx/utility/compare/TemplateRegexMatcher.java #235

Open sdheh opened 2 months ago

sdheh commented 2 months ago

I am trying to find the start of a potential license template match. src/main/java/org/spdx/utility/compare/TemplateRegexMatcher.java provides a public getStartRegex method but there is no public method for normalizing the text before using this method. Could you please provide such a method?