<div dir="ltr">Regexp-match question: ? means what, or .*? means what... <br><br><div>;This I understand:<br></div><div>;To return pattern and everything to left of first instance of pattern, use: [^<pattern>]*<pattern> ;where ^ means 'not'; example:<br>
(car (regexp-match* #rx"[^/]*/" "12/4/6")) ; => "12/"<br><br></div><div>;This I do not understand: <br></div><div>;To return pattern and everything left of first instance of pattern, use: .*?<pattern> inside #rx""; where ? means _______; or where .*? means ______________; example:<br>
(car (regexp-match* #rx".*?/" "12/4/6")) ; => "12/"<br><br></div><div>Can you replace my ________ with some words?<br></div><div>Any comments are very much appreciated.<br></div><div>Thanks.<br>
</div><div>Don Green<br></div></div>