Last change
on this file since 21149 was
21149,
checked in by LoisHaggard_NM, 7 months ago
|
nmibis-content Fixed "Mother's County of Residence" in query geo dimensions
|
File size:
1.2 KB
|
Line | |
---|
1 | https://www.princeton.edu/~mlovett/reference/Regular-Expressions |
---|
2 | |
---|
3 | find: |
---|
4 | |
---|
5 | <MEASURES>[\w\W]*?</MEASURES> |
---|
6 | |
---|
7 | Finds a string that begins with <MEASURES>, and is followed by any number (*) of alphanumeric (\w) or non-alphanumeric (\W) characters, and find the next instance (?) of </MEASURES> (as opposed to the last instance in the file). |
---|
8 | |
---|
9 | |
---|
10 | replace with: |
---|
11 | |
---|
12 | <MEASURE_NAME>Pct</MEASURE_NAME>\n\t\t\t<DATASET_ANCILLARY_VALUES>\n\t\t\t\t<DATASET_ANCILLARY_VALUE>\n\t\t\t\t\t<ANCILLARY_VALUE_NAME>LowerConfidenceLimit</ANCILLARY_VALUE_NAME>\n\t\t\t\t</DATASET_ANCILLARY_VALUE>\n\t\t\t\t<DATASET_ANCILLARY_VALUE>\n\t\t\t\t\t<ANCILLARY_VALUE_NAME>UpperConfidenceLimit</ANCILLARY_VALUE_NAME>\n\t\t\t\t</DATASET_ANCILLARY_VALUE>\n\t\t\t\t<DATASET_ANCILLARY_VALUE>\n\t\t\t\t\t<ANCILLARY_VALUE_NAME>Numerator</ANCILLARY_VALUE_NAME>\n\t\t\t\t\t<ANCILLARY_VALUE_LABEL>Number of Responses (unweighted)</ANCILLARY_VALUE_LABEL>\n\t\t\t\t</DATASET_ANCILLARY_VALUE>\n\t\t\t\t<DATASET_ANCILLARY_VALUE>\n\t\t\t\t\t<ANCILLARY_VALUE_NAME>Denominator</ANCILLARY_VALUE_NAME>\n\t\t\t\t\t<ANCILLARY_VALUE_LABEL>Sample Size (excluding 'unknown' responses)</ANCILLARY_VALUE_LABEL>\n\t\t\t\t</DATASET_ANCILLARY_VALUE>\n\t\t\t</DATASET_ANCILLARY_VALUES> |
---|
Note: See
TracBrowser
for help on using the repository browser.