FlexHub Forum

FlexHub General => General discussion => Topic started by: dchublist.org on November 02, 2013, 17:41:38

Title: Some help please !! PM is best!!
Post by: dchublist.org on November 02, 2013, 17:41:38
What would be a good lock regex and version regex for ping that works with flexhub??

For example here is ptokaX one:

version regxp is:
/PtokaX[\ ]DC[\ ]Hub[\ ]([0-9\.\-RCd]+)/{{{1

lock xp is:
/^\$Lock EXTENDEDPROTOCOL.{25,27}(win|linux)[\ ]Pk=(.*)$/{{{2

Can someone come up with one for flexhub??

Thanx!!!!
Title: Re: Some help please !! PM is best!!
Post by: .fragment on November 29, 2013, 06:34:11
I'm not exactly sure what you're doing with the regexp or where/how you're adding them so I don't really have a chance of testing these or knowing wth I'm doing myself :D but you can try em' and see if they work for you.

$version:
/^\$Version\040\d+\.\d+.$/{{{1

$lock:
/^\$Lock\040EXTENDEDPROTOCOL_FLEXHUB_MULTIPROTOCOL_\w\w\w\w\040Pk=version\d+\.\d+$/{{{2

motd (version?):
/FlexHub\040Beta\040\d\.\d\040svn:\040\d+\040\-\040Made\040by\040Daywalker,\040FlipFlop\040and\040en_dator\./