1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-02 01:02:55 +00:00

chore: change regexp to be more readable

This commit is contained in:
2024-06-08 12:02:07 +02:00
parent 9ea32412df
commit c2e7616c1b

View File

@ -63,7 +63,7 @@ public class Studie {
}
private boolean hasEudraCtNumber() {
return null != studiennummer && studiennummer.matches("[0-9]{4}-[0-9]{6}-[0-9]{2}");
return null != studiennummer && studiennummer.matches("\\d{4}-\\d{6}-\\d{2}");
}
public enum Type {