This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32304
    
213

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.


[OCA 8 book] [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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32304
    
213

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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
This fix has been released.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code tag is case sensitive
 
It's not a secret anymore!