File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ranch Office and the fly likes Code tag is case sensitive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Code tag is case sensitive" Watch "Code tag is case sensitive" New topic
Author

Code tag is case sensitive

Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
It seems that the "code" tag is case sensitive while none of the other tags are. Is this expected behavior or a bug? I don't believe that this was always the case.







Lower case quote tag


Upper case quote tag


Mixed case quote tag


Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

Garrett Rowe wrote:It seems that the "code" tag is case sensitive while none of the other tags are. Is this expected behavior or a bug? I don't believe that this was always the case.

Sounds like a bug to me. The regular expression for that tag was in the original JForum software and we never touched it. I can't think of any reason for it to be case sensitive. I'll try it out.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

It wasn't as simple a change as I thought it would be. But it involved regular expressions. And I like playing with regular expressions It's checked into the repository, unit tested, integration tested (with your test case) and will be in the next deployment. Not that it was so complex.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
This fix has been released.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code tag is case sensitive