Match list of incrementing integers using regex : <p>Is it possible to match a list of comma-separated decimal integers, where the integers in the list always increment by one?</p>

<p>These should match:</p>

<pre><code>0,1,2,3
8,9,10,11
1999,2000,2001
99,100,101
</code></pre>

<p>These should not match (in their entirety - the last two have matching subsequences):</p>

<pre><code>42
3,2,1
1,2,4
10,11,13
</code></pre>
