title: Power in regular expression
body: <p>In this regular expression <a href="https://regex101.com/r/bL1qQ8/4" rel="nofollow">(\d*)[\^*{2}](\d*)</a> I'm trying to capture digits of a power formula: for example 2^3 should return 2 and 3, and 4**5 should return 4 and 5. The expression only works in the first case, any ideas?</p>