Raised This Month: $12 Target: $400
 3% 

hlstats.pl bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dtor
Member
Join Date: Nov 2015
Old 03-06-2017 , 03:15   hlstats.pl bug
Reply With Quote #1

Code:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^weapon { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', weapon_id: (\d+), class: \d+, team: \d+, shots: \((\d+),(\d+)\), hits: \((\d+),(\d+)\), damage: \((\d+),(\d+)\), headshots: \((\d+),(\d+)\), kills: \(\d+,\d+\) }$/ at ./hlstats.pl line 3330.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(?:join|change)_class { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', .* (?:new_|)class: (\d+), .* }$/ at ./hlstats.pl line 3364.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^objective { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', class: \d+, team: \d+, objective: '(.+?)', time: \d+ }$/ at ./hlstats.pl line 3383.
Anyone know how to fix this ? thanks
Dtor is offline
Grainz
Junior Member
Join Date: Jan 2016
Old 03-06-2017 , 12:41   Re: hlstats.pl bug
Reply With Quote #2

Add a backslash in front of the brace.

Example: \{
Grainz is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode