Classement Général: 13208
Total de Points: 185
Posts: 5
Thanks: 10
UpVotes: 11
Registered: 12y 64d
The User is Offline
I'm sorry for posting so much, but I just can't seem to understand why my answer is being rejected in level 3.
This is the assignment:
Your pattern shall match all images with the name wechall.ext or wechall4.ext and a valid image extension.
Valid image extensions are .jpg, .gif, .tiff, .bmp and .png.
And I get this error:
Your pattern would match "wechall.jpg ", but it should not match it.
But from the explanation it seems to me that it should match it. Could someone explain this to me?
Classement Général: 13208
Total de Points: 185
Posts: 5
Thanks: 10
UpVotes: 11
Registered: 12y 64d
The User is Offline
Classement Général: 11970
Total de Points: 307
Posts: 2
Thanks: 0
UpVotes: 0
Registered: 11y 286d
The User is Offline
Hi,
i'm getting reject with "Your pattern would match "wechall3.png", but it should not match it."
But my regex only allows no numbers or a 4.. i have no idea how the check can come up with a 3 allowed?! Every RegEx tests like RegEx Coach / other online Tests said it will not recognize wechall3.png..
I don't want to to post the almost complete RegEx here and i cannot sent PMs yet. But basically what i do is check for "wechall" followed by number and the "possible" operator, followed by . extension..
Does anyone knows whats going on?
Classement Général: 11970
Total de Points: 307
Posts: 2
Thanks: 0
UpVotes: 0
Registered: 11y 286d
The User is Offline
It only checks vs the explicit 4. Not any number. Also i tried . oder \. - its no difference