I can only try: Last night I was in the Bais Medrish and was exhausted and I wrote down the quote from Rabbi Ribiat's saifer and rewrote in the post when I got home.
Unfortunately, I’m sorry and please forgive me everyone, I see now that I omitted some prior lines which I will insert in CAPITAL LETTERS. I think these lines address your concerns:
“IN MODELS WHERE THE IGNITION ACTIVATES AT A LOW FLAME, THERE WOULD BE A PROBLEM IF ONE NEEDS TO TURN THE KNOB PAST THAT POINT WHILE SHUTTING THE GAS OF THE UNLIT BURNER. TURNING THE KNOB WOULD INEVITABLY CAUSE A SPARK, HENCE A P’SIK REISHA OF MAVIER. NEVERTHELESS, ONE IS PERMITTED TO SHUT THE GAS, NOT ONLY IF THERE IS FEAR OF A POSSIBLE DANGER, BUT EVEN IF THERE IS MERELY A FINANCIAL LOSS, BECAUSE THE INEVITABLE MELOCHO CONSEQUENCE, I.E. THE SPARK, IS NOT DESIRED.”
"If the flame of a gas range blows out on Shabbos, one is permitted to shut of the gas to prevent it from escaping.
A situation where the inevitable Melocho consequence of a permissible act is not desired is known as a P’sik Reisha D’lo Neicha Lei. In this case, turning the knob is the permissive act, while the inevitable resultant spark is the undesired Melocho consequence.
Ordinarily, a P’sik Reisha D’lo Neicha Lei is forbidden on Shabbos. However, it is permitted when necessary to avoid financial loss.
In conclusion, one is permitted to rotate the knob of a gas range in order to shut off the gas flow, even if this action will momentarily activate the electronic ignition along the way.”