Ad
  • Custom User Avatar

    m is the part of a string that's matched with regexp provided, the callback replaces this part with incremented value. For instance if there is 'somestring0' it returns ++0(1) and if it's 'somestring499' ++499(500) is returned. Then it replaces regexp in the way as joekotvas explained above

  • Custom User Avatar

    Still cant understand what the m parameter recieves as an argument. Could you please elaborate