diff -uNr dmd-0.113/dmd/html/d/changelog.html dmd-0.114/dmd/html/d/changelog.html --- dmd-0.113/dmd/html/d/changelog.html 2005-02-13 10:34:24.000000000 +0100 +++ dmd-0.114/dmd/html/d/changelog.html 2005-02-27 20:10:42.000000000 +0100 @@ -24,6 +24,7 @@
+ +
+ IPv6 not supported but the C interface for it should all be there. + Split up socket.d and put the C stuff in std.c modules. + std.c.linux.linux updated because most of the socket functions + are actually regular I/O functions. Added classes Protocol and Service. + Added Socket.accepting() to allow derived classes to be + accepted. + Documentation and samples updated. + Fixed major bug in the linux version. ++ +
- -The RegExp class has these methods: - -
- -
- -
| Returns - | Description - |
|---|---|
| >=0 - | index of match - |
| -1 - | no match - |
- -
| Attribute - | Returns - |
|---|---|
| global - | same as call to exec(string) - |
| not global - | array of all matches - |
- -
- -
| Returns - | Description - |
|---|---|
| 0 - | no match - |
| !=0 - | match - |
- - -
| Attribute - | Action - |
|---|---|
| global - | replace all matches - |
| not global - | replace first match - |
- -
| Format - | Description - |
|---|---|
| $$ - | insert $ - |
| $& - | insert the matched substring - |
| $` - | insert the string that precedes the match - |
| $' - | insert the string that following the match - |
| $n - | replace with the nth parenthesized match, - n is 1..9 - |
| $nn - | replace with the nnth parenthesized match, - nn is 01..99 - |
| $ - | insert $ - |
- -
| Format - | Description - |
|---|---|
| & - | replace with the match - |
| \n - | replace with the nth parenthesized match, n is 1..9 - |
| \c - | replace with char c. - |
- - - -
-
- -
-
- -
-
- -
- -
-
- -
- -
-
- -
- -
- -
- -
- -
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- - -
-
- -
-
- -
- -
-
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
-
-
-
-
-
-
- -
- -
- -
- -
- -
-
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - -
- -
- - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+
+[Home]
+[Search]
+[D]
+
++ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
| Returns + | Description + |
|---|---|
| >=0 + | index of match + |
| -1 + | no match + |
+ +
| Attribute + | Returns + |
|---|---|
| global + | same as call to exec(string) + |
| not global + | array of all matches + |
+ +
+ +
| Returns + | Description + |
|---|---|
| 0 + | no match + |
| !=0 + | match + |
+ + +
| Attribute + | Action + |
|---|---|
| global + | replace all matches + |
| not global + | replace first match + |
+ +
+ +
| Format + | Description + |
|---|---|
| & + | replace with the match + |
| \n + | replace with the nth parenthesized match, n is 1..9 + |
| \c + | replace with char c. + |
+ + + +
+ +
| Attribute + | Action + |
|---|---|
| g + | global; repeat over the whole input string + |
| i + | case insensitive + |
| m + | treat as multiple lines separated by newlines + |
+ +
| Format + | Description + |
|---|---|
| $$ + | insert $ + |
| $& + | insert the matched substring + |
| $` + | insert the string that precedes the match + |
| $' + | insert the string that following the match + |
| $n + | replace with the nth parenthesized match, + n is 1..9 + |
| $nn + | replace with the nnth parenthesized match, + nn is 01..99 + |
| $ + | insert $ + |
+
+[Home]
+[Search]
+[D]
+
++
+ +
+
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+
+
+[Home]
+[Search]
+[D]
+
++ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ succ(null); // returns null
+ succ("!@#$%"); // returns "!@#$%"
+ succ("1"); // returns "2"
+ succ("9"); // returns "10"
+ succ("999"); // returns "1000"
+ succ("zz99"); // returns "aaa00"
+ + + +
+ + modifiers is a string of modifier characters: +
+ +
| Modifier + | Description + |
|---|---|
| c + | Complement the list of characters in from + |
| d + | Removes matching characters with no corresponding + replacement in to + |
| s + | Removes adjacent duplicates in the replaced characters + |
+ + If modifier d is present, then the number of characters + in to may be only 0 or 1. +
+ + If modifier d is not present and to is null, + then to is taken to be the same as from. +
+ + If modifier d is not present and to is shorter + than from, then to is extended by replicating the + last character in to. +
+ + Both from and to may contain ranges using the - + character, for example a-d is synonymous with abcd. + Neither accept a leading ^ as meaning the complement of + the string (use the c modifier for that). +
+ +
+ + Note: In the future, the pattern syntax may be improved + to be more like regular expression character classes. + +
+ +
+ +
+ +
+ +
+ squeeze("hello goodbye") // returns "helo godbye"
+ squeeze("hello goodbye", "le") // returns "helo goodbye"
+ + + +