<p dir="ltr">Hi Andrew, </p>
<p dir="ltr">I would expect this to be done at the rendering. For example, naturals would be added when changing from 4s to 1s. But maybe I am overlooking something.</p>
<p dir="ltr">In any case, I am not sure your regexp would do the job since you would probably need to have both s or f together with n. For example 3n1s for the aforementioned case. </p>
<p dir="ltr">Laurent </p>
<div class="gmail_quote">On Sep 4, 2014 10:29 PM, "Andrew Hankinson" <<a href="mailto:andrew.hankinson@gmail.com">andrew.hankinson@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
The data.KEYSIGNATURE regex specifies the following valid values:  "mixed|0|[1-7][f|s]”.<br>
<br>
However, naturals may also appear in a key signature to clarify cancelling a key signature; for example, if you were to go from Gmaj to Cmaj, you may wish to write a natural in the key signature to indicate the new key.<br>

<br>
Perhaps the regex should be amended to: "mixed|0|[1-7][f|s|n]”?<br>
<br>
Or is there another suggestion?<br>
<br>
Cheers,<br>
-Andrew<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
<br>
</blockquote></div>