- Регистрация
- 10.12.2014
- Сообщения
- 102
- Благодарностей
- 5
- Баллы
- 18
I'm currently working on a project where my bot places pre-orders.
The user enters the name of the product, and I want to use regular expressions to search the website for that product.
I planned to store the product name (which the user can enter freely) in a variable and use that variable to build the regular expression.
However, when I do that, it doesn't find any matches on the website.
Is that not possible, or am I doing something wrong?
screen 1 without variable i get results ( also a lot of results cause hes filtering all values from product name like different versions etc.
screen 2 with variable i get 0 results. variable has a default value
The user enters the name of the product, and I want to use regular expressions to search the website for that product.
I planned to store the product name (which the user can enter freely) in a variable and use that variable to build the regular expression.
However, when I do that, it doesn't find any matches on the website.
Is that not possible, or am I doing something wrong?
screen 1 without variable i get results ( also a lot of results cause hes filtering all values from product name like different versions etc.
screen 2 with variable i get 0 results. variable has a default value
Вложения
-
12,4 КБ Просмотры: 8
-
24,2 КБ Просмотры: 10