Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnFrame.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.10 by maloninc, Thu Aug 4 05:10:02 2005 UTC revision 1.11 by maloninc, Mon Aug 8 01:03:19 2005 UTC
# Line 156  void mnFrame::showSelectedItemText(wxTre Line 156  void mnFrame::showSelectedItemText(wxTre
156          exp1.Replace(&htmlText, wxT("<a href=mnlink:\\1>\\1</a>"));          exp1.Replace(&htmlText, wxT("<a href=mnlink:\\1>\\1</a>"));
157    
158          /* http://  */            /* http://  */  
159          wxRegEx exp2(wxT("(http://[\\.|&|%|$|#|=|_|\\-|~|\\?|/|a-z|A-Z|0-9]+)"));          wxRegEx exp2(wxT("(http://[^ ]+)"), wxRE_NEWLINE|wxRE_DEFAULT);
160          exp2.Replace(&htmlText, wxT("<a href=\\1>\\1</a>"));          exp2.Replace(&htmlText, wxT("<a href=\\1>\\1</a>"));
161    
162          /* file://  */            /* file://  */  
163          wxRegEx exp3(wxT("(file://[\\.|&|-|%|$|#|=|_|-|~|\\?|/|a-z|A-Z|0-9]+)"));          wxRegEx exp3(wxT("(file://[^ ]+)"), wxRE_NEWLINE|wxRE_DEFAULT);
164          exp3.Replace(&htmlText, wxT("<a href=\\1>\\1</a>"));          exp3.Replace(&htmlText, wxT("<a href=\\1>\\1</a>"));
165    
166          /* *XXXX */          /* *XXXX */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26