EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1935037] Re: Invalid charactor in field name
From: mdavidsaver via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Fri, 27 Aug 2021 14:36:51 -0000
@Dirk, by "what would be allowed." I meant a positive regex.  Omissions
are too easy with a negative character set.  For example, quote
characters.

> WHY?

My main point is that a restricted character makes it easier for future
syntax to be designed around PVD field names.  Be it CALC expressions in
records or in OPI systems like cs-studio.

cf. "pva://SomePVName/subfield/subelement" in cs-studio.  Which
practically excludes '/' in both record and field names.

https://control-system-
studio.readthedocs.io/en/latest/core/pv/doc/index.html#pv-access


As for the specific case of PVXS.  Having a different separator for structure and union allows for fewer std::map lookups, giving faster parsing (PVD does a lot of these lookups...).

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1935037

Title:
  Invalid charactor in field name

Status in EPICS Base:
  New

Bug description:
  When creating a group in QSRV, the allowed characters are too
  restrictive

  error:
  Error Group not created: Invalid charactor '-' (45) in field name "BI02-TimeRise" must be A-Z, a-z, 0-9, or '_'

  expected behaviour:
  pva structures should allow for a more liberal set of characters that just what is covered by \w regex metacharacter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1935037/+subscriptions


References:
[Bug 1935037] [NEW] Invalid charactor in field name Niko Kivel via Core-talk

Navigate by Date:
Prev: [Bug 1935037] Re: Invalid charactor in field name mdavidsaver via Core-talk
Next: [Bug 1935037] Re: Invalid charactor in field name mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: [Bug 1935037] Re: Invalid charactor in field name mdavidsaver via Core-talk
Next: [Bug 1935037] Re: Invalid charactor in field name mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 27 Aug 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·