Username: 
Password: 
Restrict session to IP 

level 4  Go to the Training: Regex challenge

Global Rank: 536
Totalscore: 47145
Viestit: 37
Kiitos: 21
Plus äänet: 24
Rekisteröitynyt: 11y 254d
stormsurfer`n Avatar



Viimeksi nähty: 7y 12h
Käyttäjä ei ole paikalla
level 4
Google/käännä0Kiitos!0Hyvä viesti!0Huono viesti! linkki
I added ? after \. and after the extensions in the () of level 3 but it doesn't catch. I tried the same regex with sed and it found all the posibilities (wechall,wechall4,wechall.ext, wechall4.ext). What's wrong?

Also there'a a bug, when you use [, [], more then 3 ? in a row, or any char that isn't a modifier as a modifier, the script doesn't filter it and spits out a preg_match error.
Global Rank: 96
Totalscore: 173693
Viestit: 100
Kiitos: 108
Plus äänet: 70
Rekisteröitynyt: 14y 270d




Viimeksi nähty: 3y 177d
Käyttäjä ei ole paikalla
RE: level 4
Google/käännä1Kiitos!0Hyvä viesti!0Huono viesti! linkki
Just catch the first group i.e. the filename then do not catch the extension part.
Global Rank: 536
Totalscore: 47145
Viestit: 37
Kiitos: 21
Plus äänet: 24
Rekisteröitynyt: 11y 254d
stormsurfer`n Avatar



Viimeksi nähty: 7y 12h
Käyttäjä ei ole paikalla
RE: level 4
Google/käännä0Kiitos!1Hyvä viesti!0Huono viesti! linkki
I don't understand. It sais: "wechall4.jpg should capture/return wechall4 in your pattern now"
so for wechall4.jpg I should only see wechall4. But there are no substitusions in this challenge so I can't put () around an object and print it with \1 or $1.
I tried just the filename with and without 4? and removed the ending $ but it still sais "Your pattern does not capture the wanted string correctly."
Redknee, AIHAPPLE, zhukeni, alibaba2024, tunelko, silenttrack, n0tHappy, stormsurfer, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, kalungmas on lisännyt aiheen seurantalistalle ja vastaanottaa sähköpostia uusista viesteistä.
1 ihmistä katsoo aihetta tällä hetkellä.
Tätä aihetta on katsottu 8376 kertaa.