Cant make changes after generating rules. get the error "Please enter a valid Regular Expression pattern."

81 views
Skip to first unread message

Tom Nook

unread,
Jan 21, 2022, 1:44:10 AM1/21/22
to Autofill Extension
I am trying to use this great tool to help me make listings on a in Game item trading site (nookazon.com)
I have no problems with entering the details and generating the autofill rules, my problem comes after when I do anything in the Autofill Options page.
If i just click a feild, 2 rules turn red and the error message "Please enter a valid Regular Expression pattern." pops up.
I've followed the link but couldn't get them to work and now i'm stumped.
Both fields are Checkboxs and the Name/Feild Indentifiers are below 

Error 1:
div:last-child > label.checkbox-label.product-pricing-option[class="checkbox-label product-pricing-option"]:first-child > input[type="checkbox"]:first-child

Error 2:label.checkbox-label.product-pricing-option[class="checkbox-label product-pricing-option"]:nth-of-type(3) > input[type="checkbox"]:first-child

Chris Green

unread,
Jan 21, 2022, 4:30:33 AM1/21/22
to chrome-...@googlegroups.com
On Thu, Jan 20, 2022 at 10:44:10PM -0800, Tom Nook wrote:
> If i just click a feild, 2 rules turn red and the error message "Please
> enter a valid [1]Regular Expression pattern." pops up.
>
> I've followed the link but couldn't get them to work and now i'm
> stumped.
>
> Both fields are Checkboxs and the Name/Feild Indentifiers are below
> Error 1:
>
> div:last-child >
> label.checkbox-label.product-pricing-option[class="checkbox-label
> product-pricing-option"]:first-child >
> input[type="checkbox"]:first-child
>
> Error
> 2:label.checkbox-label.product-pricing-option[class="checkbox-label
> product-pricing-option"]:nth-of-type(3) >
> input[type="checkbox"]:first-child
>
It's difficult to tell without a bit more context but I'd guess that
the problem is those [] in the string, they are 'special' characters
in Regular Expressions so you need to escape them with a preceding \.

--
Chris Green

Tom Nook

unread,
Jan 21, 2022, 10:59:40 PM1/21/22
to Autofill Extension
I filled out the form and Generated the Rules but after Executing the Profile the 3 Checkboxes under 'Accepting' wont select (Which shows up after selecting 'Ask for Offers') although after running the profile a second time it does.

I thought that adding a delay would resolve the issue but I cannot save any changes due to the 'Please enter a valid Regular Expression pattern' mentioned earlier.
Screen Shot 2022-01-22 at 11.33.16 am.png
I added the \ in front of the first [ like you suggested (option\[class= for example) which took the red error away but now when executing the profile the checkboxes for 'In Stock Listing' and 'Wishlist Items' wont select.

Hope this helps, if there is anything else just let me know.

Autofill Extension

unread,
Jan 22, 2022, 3:11:14 PM1/22/22
to Autofill Extension
Thanks for reporting this. It might be a bug in the rule generation logic...I'll have to register on this site and test it out this weekend.

Autofill Extension

unread,
Jan 22, 2022, 10:42:59 PM1/22/22
to Autofill Extension
Hi, this issue has been fixed in v10, which I plan to release shortly (announcement coming). In v10 the fuzzy label matching option (in Other Stuff tab) has also been improved, so you can simply enter "In Stock Listing" for the name:

Tom Nook

unread,
Jan 23, 2022, 8:42:33 AM1/23/22
to Autofill Extension
Mate you are a Legend. I look forward to the update and will come back to this post if any other issues persist

Ive also had trouble getting the auto submit form to work, I can not work out the Elements needed for the life of me
Reply all
Reply to author
Forward
0 new messages