On Mon, Mar 1, 2010 at 2:46 AM, Jeppe Nejsum Madsen <[email protected]>wrote:

> Hi,
>
> Eager to use the new Mapper support for snake_case I discovered that
> the snakify method doesn' handle abbreviations well:
>
> StringHelpers.snakify("HTML")
> res5: java.lang.String = h_t_m_l
>
> StringHelpers.snakify("HTMLEditor")
> res6: java.lang.String = h_t_m_l_editor
>
> I would expect those to be html and html_editor respectively...
>
> What do people think?
>

Yeah, adjacent caps should be part of the same word.


>
> /Jeppe
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to