K
K
kishikitoka242019-10-26 10:22:50
Regular Expressions
kishikitoka24, 2019-10-26 10:22:50

Online store, how to draw the addition of a product?

5db3f2e08b8a4674341805.png
Do I need to draw all variants of numbers-quantity in the layout when adding products to the cart?
Thanks in advance for your reply)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nick Sdk, 2018-08-27
@Fissium

Compiled an expression(?<=/icons\/).*\.png

use "non-greedy" quantifiers
https://regex101.com/r/IWveJd/1

A
Anton R., 2019-10-26
@kishikitoka24

No, but provide a place for at least 3 characters so that the layout does not go if something happens.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question