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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user