Save current BZZZ config-ui state before CHORUS branding update
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
		
							
								
								
									
										21
									
								
								install/config-ui/node_modules/es-abstract/2025/RegExpCreate.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								install/config-ui/node_modules/es-abstract/2025/RegExpCreate.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var GetIntrinsic = require('get-intrinsic'); | ||||
|  | ||||
| var $RegExp = GetIntrinsic('%RegExp%'); | ||||
|  | ||||
| // var RegExpAlloc = require('./RegExpAlloc'); | ||||
| // var RegExpInitialize = require('./RegExpInitialize'); | ||||
| var ToString = require('./ToString'); | ||||
|  | ||||
| // https://262.ecma-international.org/6.0/#sec-regexpcreate | ||||
|  | ||||
| module.exports = function RegExpCreate(P, F) { | ||||
| 	// var obj = RegExpAlloc($RegExp); | ||||
| 	// return RegExpInitialize(obj, P, F); | ||||
|  | ||||
| 	// covers spec mechanics; bypass regex brand checking | ||||
| 	var pattern = typeof P === 'undefined' ? '' : ToString(P); | ||||
| 	var flags = typeof F === 'undefined' ? '' : ToString(F); | ||||
| 	return new $RegExp(pattern, flags); | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user
	 anthonyrawlins
					anthonyrawlins