File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
angular_devkit/core/src/experimental/workspace Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 381381 "type" : " string" ,
382382 "description" : " Specifies the source locale of the application." ,
383383 "default" : " en-US" ,
384- "pattern" : " ^[a-z]{2}(-[a-zA-Z]{2,})?$"
384+ "$comment" : " IETF BCP 47 language tag (simplified)" ,
385+ "pattern" : " ^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?$"
385386 },
386387 {
387388 "type" : " object" ,
390391 "code" : {
391392 "type" : " string" ,
392393 "description" : " Specifies the locale code of the source locale" ,
393- "pattern" : " ^[a-z ]{2}(-[a-zA-Z]{2, })?$"
394+ "pattern" : " ^[a-zA-Z ]{2,3 }(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8 })?$"
394395 },
395396 "baseHref" : {
396397 "type" : " string" ,
Original file line number Diff line number Diff line change 136136 "type" : " string" ,
137137 "description" : " Specifies the source locale of the application." ,
138138 "default" : " en-US" ,
139- "pattern" : " ^[a-z ]{2}(-[a-zA-Z]{2, })?$"
139+ "pattern" : " ^[a-zA-Z ]{2,3 }(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8 })?$"
140140 },
141141 {
142142 "type" : " object" ,
145145 "code" : {
146146 "type" : " string" ,
147147 "description" : " Specifies the locale code of the source locale" ,
148- "pattern" : " ^[a-z ]{2}(-[a-zA-Z]{2, })?$"
148+ "pattern" : " ^[a-zA-Z ]{2,3 }(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8 })?$"
149149 },
150150 "baseHref" : {
151151 "type" : " string" ,
You can’t perform that action at this time.
0 commit comments