[Library|Trunk]
- add new fields for Customization options - DOI regex fix 10. rule git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61025 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
ac8381b004
commit
641c76f169
|
@ -23,6 +23,8 @@ export class CustomizationOptions {
|
|||
},
|
||||
form: {
|
||||
color: string; //background
|
||||
imageUrl: string;
|
||||
imageFile: string;
|
||||
}
|
||||
};
|
||||
buttons: {
|
||||
|
@ -46,6 +48,8 @@ export class CustomizationOptions {
|
|||
},
|
||||
form : {
|
||||
color: CustomizationOptions.getRGBA(this.identity.mainColor,0.15),
|
||||
imageUrl : null,
|
||||
imageFile : null
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ export class Identifier {
|
|||
//keep only exp3?
|
||||
let exp1 = /\b(10[.][0-9]{4,}(?:[.][0-9]+)*\/(?:(?!["&\'<>])\S)+)\b/g;
|
||||
let exp2 = /\b(10[.][0-9]{4,}(?:[.][0-9]+)*\/(?:(?!["&\'<>])[[:graph:]])+)\b/g;
|
||||
let exp3 = /\b(10.*)\b/g;
|
||||
let exp3 = /\b(10[.]*)\b/g;
|
||||
return (str.match(exp1) != null || str.match(exp2) != null || str.match(exp3) != null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue