Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-13-2002, 09:18 AM   #1
Member (3 bit)
 
Join Date: Mar 2002
Location: ireland
Posts: 5
CRASH parsers on the web

I am currently doing a web project(using ASP) but part of it involves
parsing certain information. It is a programmng language tutorial on the web and i want to be able to parse some java strings like java variables, declarations and so on. i want to put them in a quiz like state, where i say please type in a java variable here using these conditions and then i have to say whether it is correct or not. any ideas? it does not need to do anyhting, just say if the syntax is correct.
any theories would be accepted. i am doing it through Windows2000.
thank you.
paulmelvin10 is offline   Reply With Quote
Old 03-15-2002, 02:16 AM   #2
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
Try using the RegExp function in VBScript or JavaScript.
dj4uk is offline   Reply With Quote
Old 03-19-2002, 03:53 PM   #3
Member (3 bit)
 
Join Date: Mar 2002
Location: ireland
Posts: 5
how does that work.
any clues on a bit of format
paulmelvin10 is offline   Reply With Quote
Old 03-20-2002, 01:53 AM   #4
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
RegExp (or regular expressions) is used for pattern matching. With this you can parse things to check the format is correct. However they are quite complex to explain here and I'd recommend that you do a google search for regexp or regular expressions for full notation for it.
dj4uk is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2