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.13 by maloninc, Fri Aug 26 11:17:51 2005 UTC revision 1.14 by maloninc, Tue Sep 13 00:40:08 2005 UTC
# Line 160  void mnFrame::makeHtml(WikiData* wikiDat Line 160  void mnFrame::makeHtml(WikiData* wikiDat
160          exp1.Replace(&htmlText, wxT("<a href=mnlink:\\1>\\1</a>"));          exp1.Replace(&htmlText, wxT("<a href=mnlink:\\1>\\1</a>"));
161    
162          /* http://  */            /* http://  */  
163          wxRegEx exp2(wxT("(http://[^ ]+)"), wxRE_NEWLINE|wxRE_DEFAULT);          wxRegEx exp2(wxT("(http://[-_.!~*'a-zA-Z0-9;/?:@&=+$,%#]+)"), wxRE_NEWLINE|wxRE_DEFAULT);
164          exp2.Replace(&htmlText, wxT("<a href=\\1>\\1</a>"));          exp2.Replace(&htmlText, wxT("<a href=\\1>\\1</a>"));
165    
166          /* file://  */            /* file://  */  

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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