Thread: using regex
View Single Post
  #1  
Old 10-27-2015, 11: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:

SyntaxError

Error: invalid syntax
File:...
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 activestate.py
import sys
import*re

how can i use regex?

thanks,
Reply With Quote