thanks for the page :D forgot about the documentation there :(
selfhtml is a nice site but (of course) this one is much more "complete"
so with this site & the help of another programmer I updated my regex to:
$teststring =~ /([A-Z]*)[_\][:space:]]/i
I have to include every new "end"-sign but I think that's ok :)
I tried to set up something like this before but it didn't work because I had a syntax error in it.
Around three hours of 'work' and then something like this xD But that's programming, huh ;)?
Now I'll try to include the other info like used Codec/Checksum etc but I think with the solution above that I will be able to solve this "remaining" problem on my own.
Thanks for everyone who helped me, I'm really grateful to you all :)
Bye for now,
timesink | [reply] [d/l] |
Actually, if it really is _so simple_ and the rule is "use the first word" you don't need to specify the stop characters, greediness of the '+' will do the job for you:
$teststring =~ /(\w+)/ ...
| [reply] [d/l] |
yes you're right :(
but keep in mind that I just started to work with RegEx's (as you have noticed by now ;P) so I don't know every possibility even with a documentation at hand.It's by far the most confusing thing I encountered since I started with programming ;) (and there are still much more confusing things out there *_*)
Thanks for your hint :)
| [reply] |