Thread Regexp 32 Bit Limitierung (14 answers)
Opened by bloonix at 2006-10-20 15:52

bloonix
 2006-10-20 15:52
#71042 #71042
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Hallo Leute,

Code: (dl )
$text  =~ s/^(.{50000}).*$/$1/;


Quantifier in {,} bigger than 32766 in regex; marked by <-- HERE in m/^(.{ <-- HERE 50000}).*$/ at /var/www/common/cgi-bin/new.cgi line 42.

Gibt es fuer dieses Problem ein Modul? Wenn ich auf 32766 Zeichen
limitiere, laeuft das Skript mit weniger Bits trotzdem auf Fehler.

Gruss,
opi
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Regexp 32 Bit Limitierung