Home Download Buy Blog Forum Support

need help with regex file

need help with regex file

Postby kujosama on Wed Feb 22, 2012 8:04 pm

Hi,

i am trying to use the build system with purebasic but got a escaping error with file_regex

Code: Select all
{
    "cmd": ["pbcompiler", "$file", "/EXE", "$file_base_name.exe"],
    "file_regex": "\\s'?(.:[A-Za-z0-9_.:-\\ ]+\\.pb)'?",
    "line_regex": "[ ]*Line ([0-9]*)",
    "selector": "source.purebasic"
}


here is a example of the regex i try to execute : http://gskinner.com/RegExr/?303kn

to resume i need to convert \s'?(.:[A-Za-z0-9_.:-\\ ]+\.pb)'? to json escaping rules.

thanks
kujosama
 
Posts: 1
Joined: Wed Feb 22, 2012 7:57 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 10 guests