mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix regex
This commit is contained in:
@@ -26,8 +26,8 @@ export function createRegExp(string: string): RegExp {
|
||||
// 'ListItem'
|
||||
// but not 'InviteMom'
|
||||
'(^[' +
|
||||
firstLetter +
|
||||
firstLetter.toLowerCase() +
|
||||
firstLetter.toUpperCase() +
|
||||
']' +
|
||||
'|' +
|
||||
firstLetter.toUpperCase() +
|
||||
|
||||
Reference in New Issue
Block a user