Re: [PATCH 1/1] Rename camel case variables in channel.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Perches
Date: Thursday, September 23, 2010 - 1:41 pm

On Thu, 2010-09-23 at 20:24 +0000, Haiyang Zhang wrote:
[]

Some of these renames would be better with a "_" for
the CamelCase conversions (ie: CamelCase -> camel_case).

perl regex: 's/\b([A-Z])([a-z]+)([A-Z])([a-z]+)\b/\L$1$2_\L$3$4/g'

For instance, I think this should be monitor_page;


perhaps debug_info


Why not convert these to monitor_(group|offset)?

etc...

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/1] Rename camel case variables in channel.c, Haiyang Zhang, (Thu Sep 23, 1:24 pm)
Re: [PATCH 1/1] Rename camel case variables in channel.c, Joe Perches, (Thu Sep 23, 1:41 pm)
RE: [PATCH 1/1] Rename camel case variables in channel.c, Haiyang Zhang, (Thu Sep 23, 2:04 pm)