Could you tell me the question mark in JavaScript regular expressions? The meaning of

in regular expressions, the question mark can represent a quantifier, 0 or 1, or a non-greedy pattern. What is the meaning of the second question mark in the following regular expressions?

/\".*?(?=\")"/g

this rule matches everything in quotation marks. Is (? = ") a grouping? what does it mean?


Zero width assertion


(? = pattern) Yes or no matching
. *" it matches any string plus "
. * (? =") matches any string before ", excluding "


.

clipboard.png

online regular expression learning


look around syntax to indicate foresight

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b353de-2bf82.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b353de-2bf82.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?