Thread: using regex
View Single Post
Old 10-27-2015, 10:56 AM
alecarra alecarra is offline
Registered User
Join Date: Oct 2015
Posts: 3
using regex

on a normal python script i would do "import re" hoewever that is not working when i try to do it on an imported script and it fails with:


Error: invalid syntax
Line 10

import re


Here are the first 10 lines of the script.

# $language = "python"
# $interface = "1.0"

# basic collect info for Uninet
# Miguel Valadares

import SecureCRT
import sys

how can i use regex?

Reply With Quote