Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Regular Expressions : grab flash devices Post 303036414 by Neo on Tuesday 25th of June 2019 06:53:33 AM
Old 06-25-2019
You will get a better response if you provide us with more complete details or input and output and how you are calling your regex, etc.

We are really not great mind readers here.... sorry about that.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Regular Expressions

I'm trying to parse RichText to XML. I want to be able to capture everything between the '/par' tag in the RTF but not include the tag itself. So far all I have is this, '.*?\\par' but it leaves '\par' at the end of it. Any suggestions? (1 Reply)
Discussion started by: AresMedia
1 Replies

2. Programming

regular expressions in c++

How do I use the regular expressions in c++? (2 Replies)
Discussion started by: szzz
2 Replies

3. Shell Programming and Scripting

Regular Expressions

How can i create a regular expression which can detect a new line charcter followed by a special character say * and replace these both by a string of zero length? Eg: Input File san.txt hello hi ... (6 Replies)
Discussion started by: sandeep_hi
6 Replies

4. Shell Programming and Scripting

regular expressions

Hi, can anyone advise me how to shorten this: if || ; then I tried but it dosent seem to work, whats the correct way. Cheers (4 Replies)
Discussion started by: jack1981
4 Replies

5. UNIX for Advanced & Expert Users

regular expressions

I have a flat file with the following drug names Nutropin AQ 20mg PEN Cart 2ml Norditropin Cart 15mg/1.5ml I have to extract digits that are before mg i.e 20 and 15 ; how to do this using regular expressions Thanks ram (1 Reply)
Discussion started by: ramky79
1 Replies

6. Shell Programming and Scripting

Regular Expressions

#!/usr/bin/perl $word = "one last challenge"; if ( $word =~ /^(\w+).*\s(\w+)$/ ) { print "$1"; print "\n"; print "$2"; } The output shows that "$1" is with result one and "$2" is with result challenge. I am confused about how this pattern match expression works step by step. I... (8 Replies)
Discussion started by: DavidHe
8 Replies

7. Shell Programming and Scripting

Regular Expressions

what elements does " /^/ " match? I did the test which indicates that it matches single lowercase character like 'a','b' etc. and '1','2' etc. But I really confused with that. Because, "/^abc/" matches strings like "abcedf" or "abcddddee". So, what does caret ^ really mean? Any response... (2 Replies)
Discussion started by: DavidHe
2 Replies

8. Shell Programming and Scripting

Help with regular expressions

I have a file that I'm trying to find all the cases of phone number extensions and deleting them. So input file looks like: abc x93825 def 13234 x52673 hello output looks like: abc def 13234 hello Basically delete lines that have 5 numbers following "x". I tried: x\(4) but it... (7 Replies)
Discussion started by: pxalpine
7 Replies

9. Shell Programming and Scripting

Regular Expressions

I am new to shell scripts.Can u please help me on this req. test_user = "Arun" if echo "test_user is a word" else echo "test_user is not a word" (1 Reply)
Discussion started by: chandrababu
1 Replies

10. Shell Programming and Scripting

Regular Expressions

Hi Ilove unix and alwyas trying to to learn unix,but i am weak in using regular expressions.can you please give me a littel brief discription that how can i understand them and how to use .your response could lead a great hand in my unix love. (1 Reply)
Discussion started by: manoj attri
1 Replies
XtUngrabKeyboard()														XtUngrabKeyboard()

Name
  XtUngrabKeyboard - release an active keyboard grab.

Synopsis
  void XtUngrabKeyboard(widget, time)
	   Widget widget;
	   Time time;

Inputs
  widget    Specifies the widget which has the active keyboard grab.

  time	    Specifies the time when the grab should end.  CurrentTime is acceptable.

Availability
  Release 4 and later.

Description
  XtUngrabKeyboard() releases an active keyboard grab by calling XUngrabKeyboard(), passing the display of widget and time.

  The  time  argument  may  be a timestamp or the constant CurrentTime.  If the specified time is earlier than the last-keyboard-grab time or
  later than the current server time the keyboard will not be ungrabbed.

  See XtGrabKeyboard() for more information about grabbing the keyboard.

Usage
  Most applications will never need to issue a grab.  XtAddGrab() (called by XtPopup()) can be used  to  implement  modal  popups  inside  an
  application,	and  XtSetKeyboardFocus()  can	be used to redirect keyboard focus within an application.  Neither function actually issues a
  grab, and so does not interrupt event processing by other clients.

See Also
  XtAddGrab(1), XtGrabButton(1), XtGrabKey(1), XtGrabKeyboard(1), XtGrabPointer(1), XtSetKeyboardFocus(1), XtUngrabButton(1), XtUngrabKey(1),
  XtUngrabPointer(1).

Xt - Keyboard Handling														XtUngrabKeyboard()
All times are GMT -4. The time now is 07:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy