Search pattern: Nested *?+ supplied

What is wrong with this script?

I get this error popup when I apply it:
search pattern: Nested *?+ supplied

I got the scrtip from here:

This is how it looks in my editor:

Option Explicit
Function OnGetNewName(ByRef getNewNameData)
	' Add script code here.
	' 
	' Main inputs (all read-only):
	' 
	' - getNewNameData.item:
	'     Object with information about the item being renamed.
	'     e.g. item.name, item.name_stem, item.ext,
	'          item.is_dir, item.size, item.modify,
	'          item.metadata, etc.
	'     item.path is the path to the parent folder.
	'     item.realpath is the full path to the file, including its name,
	'          and with things like Collections and Libraries resolved to
	'          the real directories that they point to.
	' - getNewNameData.oldname_field:
	' - getNewNameData.newname_field:
	'     Content of the "Old Name" and "New Name" fields in the Rename dialog.
	' - getNewNameData.newname:
	' - getNewNameData.newname_stem and newname_stem_m:
	' - getNewNameData.newname_ext  and newname_ext_m:
	'     The proposed new name for the item, based on the non-script
	'     aspects of the Rename dialog. Scripts should usually work from this
	'     rather than item.name, so that they add to the dialog's changes.
	'     newname_ext is the file extension, or an empty string if none.
	'     newname_stem is everything before the file extension.
	'     The *_m versions handle multi-part extensions like ".part1.rar".
	' - getNewNameData.custom:
	'     Contains any custom field values for additional user input.
	' 
	' Return values:
	' 
	' - OnGetNewName=True:
	'     Prevents rename.
	'     The proposed getNewNameData.newname is not used.
	' - OnGetNewName=False: (Default)
	'     Allows rename.
	'     The proposed getNewNameData.newname is used as-is.
	' - OnGetNewName="string"
	'     Allows rename.
	'     The file's new name is the string the script returns.

	OnGetNewName="Test_" & GetNewNameData.item.name

End Function

The solution is shown below.
Stray regex entries in the Old Name and New Name fields
@Leo I was not sure how else to show this problem oterh than a screenshot. Let me know if I should have done this a different way.