Getting started
Read and View data
Tutorials
How to Print
How to Export a file
PPF directory queries
Timeslice Data
 
Data sources
Standard Sets
Transp Data
MDSplus Data
How to Read ITER data
Regular Expressions (for JPF node list)
 
Modifying a plot
Modifying a plot
Zoom, Pan, Rotate
Selecting a signal
Moving a signal
Add/Remove signals
Layout
Title, Legend, Axes
Annotation
 
Styles
Styles
General style options
Single-valued signals
2D signals
3D signals
Colours
 
Processing Signals
Basic guide
Signal slicing
More Signal Processing
Saving PPF data
Simple Expressions
IBM NEWDSP-syntax
 
Signal Information
Signal Information
View Data as Text
 
Standard Sets
Standard Sets
Examples
IBM standard sets
 
Configuration
Preferences
Shortcuts
JETDSP's setup files

Filtering the JPF node list with Regular Expressions

The new JPF node search dialogue box uses 'regular expressions' to filter the list of nodes.

The first thing to keep in mind is that if the search term matches any part of the signal name, then that signal will be displayed as a match.

For example: "C1" will match "C1-A1", "C2-C11", "LI-TC12", etc.

Next, there are special symbols that can be used; much like '*' in the old dialogue that used to mean "any text", these symbols can match patterns, but in a more flexible way.

^Beginning of name
$End of name
.Any character
c*The character c zero or more times
c+The character c one or more times
[abc]The character a, b or c
[^abc]Any character that is not a, b or c
\$The literal character '$'

These can all be combined with each other.

Examples:

Display nodes that contain "C1":
C1

(i.e. Match any string which contains "C1" at any point)
Display nodes that start with "C1":
^C1

(i.e. Match any string that starts with "C1")
Display nodes that include "IPLA" and are inputs:
IPLA.*<

(i.e. Match any string that includes "IPLA", followed by any number of any characters, followed by a left angular bracket)
Display all C2 nodes but exclude the waveforms:
^C2[^<>]*$

(i.e. Match a string that starts with "C2", then any number of characters that aren't left or right angular brackets, then ends)

This is just a brief taster of the sort of patterns that will be most useful in the context of searching for JPF nodes. Regular Expressions are much more powerful than there is room to sensibly cover here; should you need to use further capabilities, googling the topic will yield many more complete guides, such as this one.


Top  JETDSP Home Page  Manual  FAQ 
Please send comments and questions to data-and-coding-support@ccfe.ac.uk.