Sponsor Message:
Non Aviation Forum
My Starred Topics | Profile | New Topic | Forum Index | Help | Search 
Anyone Good With TCL/TK  
User currently offlineSevenair From United Kingdom, joined Feb 2001, 1728 posts, RR: 0
Posted (12 years 6 months 1 week 1 day 10 hours ago) and read 1829 times:

Im really bad at it and need help! Any ideas
Write a tcl/tk program that provides some of the functionality of the Regex Coach that you have been using for the previous exercise but also provides some extra functions. Minimally there should be two editable boxes that allow a user to enter a regular expression in one box and to test it against a text entered into the other box. The design of the interface is up to you.

Once this has been implemented, extend your interface by adding controls (buttons, menus - again you decide) that help the user write her regular expression : for instance there could be a button marked "Any character" that inserts a ? into the regular expression when it is clicked.

You may like to think about using entry and/or text widgets, button and/or menubutton widgets. Design the layout of your window on paper before you start to implement the code, making sure that you understand how it fits into a grid.

2 replies: All unread, jump to last
User currently offlineGordonsmall From UK - Scotland, joined Jun 2001, 2236 posts, RR: 20
Reply 1, posted (12 years 6 months 1 week 1 day 9 hours ago) and read 1818 times:

Assuming that you are implementing it in PERL under Unix/Linux, does it have to be tcl/tk? I detest working with tcl/tk, much prefer GTK, or better still wxWindows as it allows piss-easy cross platform development - although wxWindows isn't exactly Perl friendly, you can get perl-like RegExp modules for C++ which are breeze to work with.

Give me a bit more information and I might be able to help.


Statistically, people who have had the most birthdays tend to live the longest.
User currently offlineSevenair From United Kingdom, joined Feb 2001, 1728 posts, RR: 0
Reply 2, posted (12 years 6 months 1 week 9 hours ago) and read 1805 times:

We using BASH on Linux, i got the buttons and input boxes to work, but it s the actual regexp I cant get working-I want to compare two strains,and if they match then tell me.

Top Of Page
Forum Index

This topic is archived and can not be replied to any more.

Printer friendly format

Similar topics:More similar topics...
Anyone Good With Biology? posted Tue Oct 31 2000 00:54:51 by ILUV767
Anyone Familiar With The Scottish Premier League? posted Fri Jun 30 2006 03:29:48 by Racko
Anyone Travel With Contiki? posted Wed Jun 7 2006 02:32:00 by Corey07850
Anyone Familiar With Fire Pagers? posted Sat Dec 17 2005 04:09:50 by Jalto27R
Are You Good With Word? Real Good?! posted Wed Dec 7 2005 15:42:57 by TWISTEDWHISPER
Anyone Help With Arabic? posted Thu Aug 11 2005 13:50:45 by Soyuzavia
Anyone Familiar With 5 Guys Burgers? posted Thu Aug 4 2005 16:06:19 by 777DadandJr
Anyone Familiar With Hsu Research Subwoofers? posted Mon Jun 20 2005 22:34:23 by Slider
Anyone Familiar With Alex Jones (filmmaker)? posted Mon Jun 20 2005 14:10:29 by USFlyer MSP
Good With Computers? I Need Some Help! posted Sun Feb 15 2004 23:51:23 by DeltaMD11