Revision: 7088
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7088&view=rev
Author:   dominikoeo
Date:     2012-05-27 17:52:21 +0000 (Sun, 27 May 2012)
Log Message:
-----------
- added information to explain how to match single
  tokens in a case sensitive way using (?-i) in
  regular expressions (ex: regexp="(?-i)Bill" to
  match "Bill" but not "bill").

Modified Paths:
--------------
    trunk/website/www/development/index.php

Modified: trunk/website/www/development/index.php
===================================================================
--- trunk/website/www/development/index.php     2012-05-27 15:11:10 UTC (rev 
7087)
+++ trunk/website/www/development/index.php     2012-05-27 17:52:21 UTC (rev 
7088)
@@ -153,7 +153,11 @@
 </ul>
 
 <p>A pattern's tokens are matched case-insensitively by default. This can be 
changed
-by setting the pattern's <tt>case_sensitive</tt> attribute to <tt>yes</tt>.</p>
+for the whole pattern by setting the pattern's <tt>case_sensitive</tt> 
attribute
+to <tt>yes</tt>.</p> Alternatively, case-sensitive matching can be turned on 
for
+single tokens by using
+<tt><a 
href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html";>(?-i)</a><tt>
+in regular expressions (ex: <tt>regexp="(?-i)Bill"</tt> will match "Bill" but 
not "bill").
 
 <h3><a name="simpleexample">A simple example</a></h3>
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to