Programmers Unite! and help me figure out what language this is... ;)

gopunk

Lifer
Jul 7, 2001
29,239
2
0
~<.*\.edu>

there is a file of email addresses to be ignored, and that is one of the entries. this will cause any non-.edu email addresses to be ignored.

thanks!
 
Jun 18, 2000
11,208
774
126
It may not be language specific. Its possible the app looks for a certain character string (in this case ~<.*.\) - a wildcard entry so to speak.

Why the app would use such an odd wildcard is beyond me. Oh well, consider this a free bump.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Is that *ALL* of the information you can give us? Knowing what program it works with would help.
 

Derango

Diamond Member
Jan 1, 2002
3,113
1
0
Thats not any type of cold fusion I've ever seen.

EDIT: Since its in a *file* of e-mail address to be ignored by an app, it probably is somthing the designers of the app came up with for that purpose, and as such, is probably not a standard language. Might be some type of regular expression, however, I don't know enough about that to make a definite identification.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
That's not really a programming language. It's just some sort of odd regular expression

~<.*\.edu>


~ <- not

<> <- parenthesis

. <-- any character
* <- any number of repeated "any character"

\. <- escaped ., so a literal dot character
edu <- string
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
could be a part of a regular expression.. I think its called.

that would apply to just about any language then
 

kt

Diamond Member
Apr 1, 2000
6,032
1,348
136
closest thing i can come to is Perl which make use of the wild comparision expression quite a lot.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0


<< closest thing i can come to is Perl which make use of the wild comparision expression quite a lot. >>



it's not perl, in perl that regex would be something like this:
$variable !~ m/.*\.edu/;
 

Lithium381

Lifer
May 12, 2001
12,452
2
0


<< closest thing i can come to is Perl which make use of the wild comparision expression quite a lot. >>



that's what i originally thoght when i saw it, but i've never used it, i use PASCAL!!!! 4 LIFE!!!! :D:eek: