Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

double digit groups not recognized #43

Closed
aguyinmontreal opened this issue Sep 13, 2017 · 6 comments
Closed

double digit groups not recognized #43

aguyinmontreal opened this issue Sep 13, 2017 · 6 comments

Comments

@aguyinmontreal
Copy link

aguyinmontreal commented Sep 13, 2017

(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)\10

Doesn't recognize double digit groups such as 10

image

@xyzdata
Copy link

xyzdata commented Sep 19, 2017

image

more info needed!

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp

image

@xyzdata
Copy link

xyzdata commented Sep 19, 2017

Maybe you should learn regex in depth!

https://regexper.com/#%2F(12)%2F

image

image

https://regexper.com/#%2F(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)((%3F%3D(%5B0-9%5D%7B1%2C6%7D)))(12)%2F

@aguyinmontreal
Copy link
Author

aguyinmontreal commented Sep 19, 2017

euuh... I think you're talking about the literal "12".

I'm talking about the back-reference to capturing group 12 (which is this part: ([0-9]{1,6})).

see regex101.com :
image

I edited my example to give an easier example.

@xyzdata
Copy link

xyzdata commented Sep 22, 2017

I don't know what your means?

You should give more details & some handy ways!

bad way

see regex101.com :

good way

see: https://regex101.com/


(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)((?=([0-9]{1,6})))(12)

@aguyinmontreal
Copy link
Author

aguyinmontreal commented Sep 22, 2017

Please look at the first post on this thread, I edited it.

@javallone
Copy link
Owner

Closing as a duplicate of #38.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants