Hello, I have a pattern that matches as follows:

  @sessuses = ($line =~ m/.[^']\=\s*Session\(\"(.+?)\"\)/gi);

This matches for every instance where I use a Session Variable
in some code and does it quite well.  This is an ASP processing
script for documentation purposes (BTW)...  However, to match
other types of variables or objects I use the same syntax.  So
my question is how do I:

    1.  Match using other items for instance:
        (Session|Form|QueryString|Application|ServerVariables)
        I take it this will work.  However, I need to know which type
        got matched.  SO,
    2. If I insert the above string for Session in the above example
        how do I know which item it matched for?  Can I get this
        information or do I need to use 5 seperate Regular Expressions?

    - Justin Rogers, CEO DigiTec Web Consultants
    [COOP]DigiTec - Half-Life, Q3A, Unreal Tournament


---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to