spdx / spdx/Spdx-Java-Library

Use Unicode Properties in regex normalization license expressions

Open
#369 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

matching performance
Dominant language
Java
Stars
71
Forks
44
Avg merge
12h 54m
Merged PRs (30d)
7

Description

From the discussion on implementers call on 29 Oct., we could use Unicode properties in the regular expressions to simplify and possible speed up the license matching algorithms.

Reference: https://en.wikipedia.org/wiki/Unicode_character_property

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the license expression normalization and matching algorithms, then review the Unicode character property reference linked in the issue. Compare the existing regular expressions with the proposed Unicode-property approach and establish the expected simplification or performance improvement before changing the implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.