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


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.

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

Return to Technical Support

Who is online

Users browsing this forum: bodom, FichteFoll, Yahoo [Bot] and 27 guests